mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
openjdk8: use create_wrksrc
This commit is contained in:
parent
e1064aca77
commit
10238e0f4b
1 changed files with 3 additions and 2 deletions
|
@ -13,7 +13,7 @@ _jdk_home="usr/lib/jvm/java-1.8-openjdk"
|
||||||
# otherwise the same as the normal one, just with aarch64 port added
|
# otherwise the same as the normal one, just with aarch64 port added
|
||||||
_repo_ver="aarch64-shenandoah-jdk${version/b/-b}"
|
_repo_ver="aarch64-shenandoah-jdk${version/b/-b}"
|
||||||
archs="x86_64* i686* aarch64* arm* ppc64*"
|
archs="x86_64* i686* aarch64* arm* ppc64*"
|
||||||
wrksrc="jdk8u-shenandoah-aarch64-shenandoah-jdk8u${_jdk_update}-b${_jdk_build}"
|
create_wrksrc=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="
|
configure_args="
|
||||||
--prefix=${XBPS_DESTDIR}/${XBPS_CROSS_TRIPLET}/${pkgname}-${version}/usr/lib
|
--prefix=${XBPS_DESTDIR}/${XBPS_CROSS_TRIPLET}/${pkgname}-${version}/usr/lib
|
||||||
|
@ -139,9 +139,10 @@ alternatives="
|
||||||
"
|
"
|
||||||
|
|
||||||
post_extract() {
|
post_extract() {
|
||||||
|
mv jdk8u*/* .
|
||||||
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}-${_repo_ver} ${subrepo}
|
mv ${subrepo}-${_repo_ver} ${subrepo}
|
||||||
done
|
done
|
||||||
|
|
||||||
# gcc complains about the signed shift left
|
# gcc complains about the signed shift left
|
||||||
|
|
Loading…
Add table
Reference in a new issue