mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
openjdk9-bootstrap: use create_wrksrc
This commit is contained in:
parent
10238e0f4b
commit
00bf3350d3
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,7 @@ version=9.0.4p12
|
||||||
revision=3
|
revision=3
|
||||||
_repo_ver=${version/p/+}
|
_repo_ver=${version/p/+}
|
||||||
archs="x86_64* i686* aarch64* arm* ppc64*"
|
archs="x86_64* i686* aarch64* arm* ppc64*"
|
||||||
wrksrc="jdk9u-jdk-${_repo_ver}"
|
create_wrksrc=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--prefix=${XBPS_DESTDIR}/${pkgname}-${version}/usr/lib
|
--prefix=${XBPS_DESTDIR}/${pkgname}-${version}/usr/lib
|
||||||
|
@ -78,9 +78,10 @@ fi
|
||||||
export CCACHE_DISABLE=1
|
export CCACHE_DISABLE=1
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
mv jdk9u*/* .
|
||||||
chmod +x configure
|
chmod +x configure
|
||||||
for subrepo in corba hotspot jdk jaxws jaxp langtools nashorn; do
|
for subrepo in corba hotspot jdk jaxws jaxp langtools nashorn; do
|
||||||
mv ../${subrepo}-jdk-${_repo_ver} ${subrepo}
|
mv ${subrepo}-jdk-${_repo_ver} ${subrepo}
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue