Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : apache-ant | name : apache-ant | ||||
| version : 1.10.7 | version : 1.10.8 | ||||
| release : 6 | release : 7 | ||||
| source : | source : | ||||
| - https://github.com/apache/ant/archive/rel/1.10.7.tar.gz : 76847cb016937266872b5f83bd5a6dc3587b9df6a6545f57213f79358c16457a | - https://github.com/apache/ant/archive/rel/1.10.8.tar.gz : 09a051b07d4d1d20b4403baf3365b446f470a4448f020dc54895fc2e03c4a9cf | ||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : programming.java | component : programming.java | ||||
| summary : A software tool for automating software build processes | summary : A software tool for automating software build processes | ||||
| description: | | description: | | ||||
| Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. | Apache Ant is a Java library and command-line tool whose mission is to drive processes described in build files as targets and extension points dependent upon each other. | ||||
| builddeps : | builddeps : | ||||
| - openjdk-8 | - openjdk-11 | ||||
| rundeps : | rundeps : | ||||
| - openjdk-8 | - openjdk-11 | ||||
| setup : | | |||||
| %patch -p1 < $pkgfiles/0001-Default-to-using-openjdk-8.patch | |||||
| build : | | build : | | ||||
| export JAVA_HOME=/usr/lib64/openjdk-8 | export JAVA_HOME=/usr/lib64/openjdk-11 | ||||
| ./build.sh -Dant.install=$installdir/usr install-lite | ./build.sh -Dant.install=$installdir/usr install-lite | ||||
| install : | | install : | | ||||
| mv $installdir/usr/lib $installdir/usr/lib64 | |||||
| find $installdir/usr/bin \( -name '*.cmd' -o -name '*.bat' \) -delete | find $installdir/usr/bin \( -name '*.cmd' -o -name '*.bat' \) -delete | ||||
| mv $installdir/usr/lib $installdir/usr/lib64 | |||||
| cd $installdir/usr/bin | |||||
| find . -type f \! -name "*.*" -exec sed --debug -i "2r $pkgfiles/java-shim.txt" {} \; | |||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.