*: fix name of jdk profile script in templates
This commit is contained in:
parent
5fa5053aeb
commit
d989670185
13 changed files with 13 additions and 13 deletions
|
@ -17,7 +17,7 @@ conf_files="/etc/fop.conf"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
. /etc/profile.d/apache-ant.sh
|
. /etc/profile.d/apache-ant.sh
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
ant package
|
ant package
|
||||||
}
|
}
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
|
@ -15,7 +15,7 @@ checksum="5f499a0c9263be556b03dd64002a1f99892eb50ee253aab81f1f338f3bc7abed
|
||||||
replaces="apache-maven-bin>=0"
|
replaces="apache-maven-bin>=0"
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
source /etc/profile.d/openjdk.sh
|
source /etc/profile.d/jdk.sh
|
||||||
./bin/mvn package -DskipTests -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/lib/${pkgname}
|
./bin/mvn package -DskipTests -Drat.skip=true -Dmaven.repo.local=repo -DdistributionTargetDir=${DESTDIR}/usr/lib/${pkgname}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ fi
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
. /etc/profile.d/apache-ant.sh
|
. /etc/profile.d/apache-ant.sh
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
|
|
||||||
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/lib/jvm/java-1.8-openjdk/include/linux"
|
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/lib/jvm/java-1.8-openjdk/include/linux"
|
||||||
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/lib/jvm/java-1.8-openjdk/include"
|
export CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/lib/jvm/java-1.8-openjdk/include"
|
||||||
|
|
|
@ -20,7 +20,7 @@ distfiles="https://github.com/bibletime/bibletime/releases/download/v${version}/
|
||||||
checksum=d6beef62ad44b255e3dc4c5e89214bf01a0e85c9136073b0be12fca3d2b22622
|
checksum=d6beef62ad44b255e3dc4c5e89214bf01a0e85c9136073b0be12fca3d2b22622
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
if [ "$XBPS_WORDSIZE" = "32" ]; then
|
||||||
export _JAVA_OPTIONS="-Xmx1024m"
|
export _JAVA_OPTIONS="-Xmx1024m"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -14,7 +14,7 @@ distfiles="${SOURCEFORGE_SITE}/davmail/davmail-src-${version}-${_commit}.tgz"
|
||||||
checksum=08e7103d14e9f05ec269caceef7585dcf8be202a35c471fa6fc12729cf99ef2f
|
checksum=08e7103d14e9f05ec269caceef7585dcf8be202a35c471fa6fc12729cf99ef2f
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
. /etc/profile.d/apache-ant.sh
|
. /etc/profile.d/apache-ant.sh
|
||||||
|
|
||||||
ant jar
|
ant jar
|
||||||
|
|
|
@ -22,7 +22,7 @@ esac
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
. /etc/profile.d/apache-ant.sh
|
. /etc/profile.d/apache-ant.sh
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
|
|
||||||
gradle format_translation binZip -x test
|
gradle format_translation binZip -x test
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,7 +12,7 @@ distfiles="https://github.com/freerouting/${pkgname}/archive/v${version}.tar.gz"
|
||||||
checksum=36742a91e492956e3adc5d75e542a40f3e03d15d69d15717a9d39c0585faac44
|
checksum=36742a91e492956e3adc5d75e542a40f3e03d15d69d15717a9d39c0585faac44
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
gradle assemble
|
gradle assemble
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ case "$XBPS_MACHINE" in
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
source /etc/profile.d/openjdk.sh
|
source /etc/profile.d/jdk.sh
|
||||||
mvn package -Dmaven.test.skip=true
|
mvn package -Dmaven.test.skip=true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ post_patch() {
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
. /etc/profile.d/apache-ant.sh
|
. /etc/profile.d/apache-ant.sh
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
|
|
||||||
ant -propertyfile ${FILESDIR}/build.properties build
|
ant -propertyfile ${FILESDIR}/build.properties build
|
||||||
ant -propertyfile ${FILESDIR}/build.properties docs-html
|
ant -propertyfile ${FILESDIR}/build.properties docs-html
|
||||||
|
|
|
@ -102,7 +102,7 @@ pre_configure() {
|
||||||
xargs sed -i -e "s;-isystem;-I;g"
|
xargs sed -i -e "s;-isystem;-I;g"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
|
|
||||||
# Build tools needed to run on the host
|
# Build tools needed to run on the host
|
||||||
if [ "$CROSS_BUILD" ]; then
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
|
|
@ -28,7 +28,7 @@ do_build() {
|
||||||
vsed -i lightcrafts/jnisrc/tiff/GNUmakefile \
|
vsed -i lightcrafts/jnisrc/tiff/GNUmakefile \
|
||||||
-e "s;\./configure;& --host=${XBPS_MACHINE%-musl};"
|
-e "s;\./configure;& --host=${XBPS_MACHINE%-musl};"
|
||||||
|
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
cd linux
|
cd linux
|
||||||
TARGET=${XBPS_TARGET_MACHINE%-musl} ant jar
|
TARGET=${XBPS_TARGET_MACHINE%-musl} ant jar
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,7 +14,7 @@ distfiles="${SOURCEFORGE_SITE}/plantuml/plantuml-gplv2-${version}.tar.gz"
|
||||||
checksum=c21bb155ecfc53f4f0a5924238069f0c979b0f426bfa44fd62ce73f2aa1b4339
|
checksum=c21bb155ecfc53f4f0a5924238069f0c979b0f426bfa44fd62ce73f2aa1b4339
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
. /etc/profile.d/apache-ant.sh
|
. /etc/profile.d/apache-ant.sh
|
||||||
ant
|
ant
|
||||||
mv ${pkgname}.jar ${pkgname}-${version}.jar
|
mv ${pkgname}.jar ${pkgname}-${version}.jar
|
||||||
|
|
|
@ -27,7 +27,7 @@ if [ "$CROSS_BUILD" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
. /etc/profile.d/openjdk.sh
|
. /etc/profile.d/jdk.sh
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue