forked from ports/contrib
ant: marked unmaintained; build fails
This commit is contained in:
parent
bea09deea4
commit
66be182c51
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39gdHXEEDdj7R19HyprDI9b9++noOnxkkofUguwWx5wrhCpbhEQGMhGNRem+ZL4dSh6hHuFaueE55SS7im6HBwI=
|
||||
SHA256 (Pkgfile) = d8a1e612d44a623227f6ab9ef8ca7b693a3c2f577ae5bafab9799ce634265515
|
||||
RWSagIOpLGJF33xgc4QfUMcbFVq3dBrHZA/S4G7jf3Na73DdUjLGFIMLwNguZyKWv4l+WVHEvEKjO7bSrvaT5DjVx/GT2v7OmQ4=
|
||||
SHA256 (Pkgfile) = ffcc46d917f29d9a7cfbd088dd03c2794d281f10776948566930cca1c6b475ef
|
||||
SHA256 (.footprint) = e896869e765175bf30633fbdeda7346d0f356c91242f6e20f6ec2b32f14609d8
|
||||
SHA256 (apache-ant-1.10.13-src.tar.xz) = 2a3de6f5d52f7859e0a18f23d8dcdd64cde05ed262654b2286f74759cf0d68d4
|
||||
SHA256 (ant.conf) = df69b76897e52764ad65e2536ce73dc98f4df014c88551dcdfc802c10ec26ee6
|
||||
|
42
ant/Pkgfile
42
ant/Pkgfile
@ -1,39 +1,39 @@
|
||||
# Description: Ant is a Java-based build tool.
|
||||
# Description: Ant is a Java-based build tool
|
||||
# URL: http://ant.apache.org/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Maintainer: unmaintained
|
||||
# Depends on: openjdk17-jdk
|
||||
|
||||
name=ant
|
||||
version=1.10.13
|
||||
release=1
|
||||
source=(https://www-eu.apache.org/dist/ant/source/apache-$name-$version-src.tar.xz
|
||||
ant.conf)
|
||||
ant.conf)
|
||||
|
||||
build() {
|
||||
cd apache-$name-$version
|
||||
cd apache-$name-$version
|
||||
|
||||
sed -i 's|/usr/bin/python|/usr/bin/python3|' \
|
||||
src/script/runant.py
|
||||
sed -i 's|/usr/bin/python|/usr/bin/python3|' \
|
||||
src/script/runant.py
|
||||
|
||||
unset JAVA_HOME
|
||||
export JAVA_HOME='/usr/lib/java/openjdk17-jdk'
|
||||
unset JAVA_HOME
|
||||
export JAVA_HOME='/usr/lib/java/openjdk17-jdk'
|
||||
|
||||
./bootstrap.sh
|
||||
bootstrap/bin/ant -Ddest=optional -f fetch.xml
|
||||
bootstrap/bin/ant dist
|
||||
./bootstrap.sh
|
||||
bootstrap/bin/ant -Ddest=optional -f fetch.xml
|
||||
bootstrap/bin/ant dist
|
||||
|
||||
cd apache-$name-$version
|
||||
cd apache-$name-$version
|
||||
|
||||
install -d $PKG/usr/share/ant
|
||||
cp -Rp etc $PKG/usr/share/ant
|
||||
install -d $PKG/usr/share/ant
|
||||
cp -Rp etc $PKG/usr/share/ant
|
||||
|
||||
find bin -type f -a ! -name \*.bat -a ! -name \*.cmd \
|
||||
-exec install -Dm 755 {} -t "$PKG/usr/share/ant/bin" \;
|
||||
find bin -type f -a ! -name \*.bat -a ! -name \*.cmd \
|
||||
-exec install -Dm 755 {} -t "$PKG/usr/share/ant/bin" \;
|
||||
|
||||
install -d "$PKG/usr/bin"
|
||||
ln -s /usr/share/ant/bin/ant "$PKG/usr/bin/ant"
|
||||
install -d "$PKG/usr/bin"
|
||||
ln -s /usr/share/ant/bin/ant "$PKG/usr/bin/ant"
|
||||
|
||||
install -Dm 644 "$SRC/ant.conf" -t "$PKG/etc"
|
||||
install -Dm 644 lib/*.jar -t "$PKG/usr/share/java/ant"
|
||||
ln -s /usr/share/java/ant "$PKG/usr/share/ant/lib"
|
||||
install -Dm 644 "$SRC/ant.conf" -t "$PKG/etc"
|
||||
install -Dm 644 lib/*.jar -t "$PKG/usr/share/java/ant"
|
||||
ln -s /usr/share/java/ant "$PKG/usr/share/ant/lib"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user