Was supposed to be a linux distribution, now just a collection of build scripts for packages on top of (ideally) any distribution.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

21 lines
633 B

name=apache-ant
version=1.10.1
update_url='https://www.apache.org/dist/ant/source/'
dlextract "https://www.apache.org/dist/ant/source/$name-$version-src.tar.xz" \
'ebecbe7488c624b06bc6a264a3a7c4ec'
header_end
cd "$name-$version"
./build.sh
# Clean up build output
rm -f dist/bin/*.bat dist/bin/*.cmd
# Install
mkdir -p "$dir_install/$dir_prefix/$dir_datadir/$name"
cp -Ta dist "$dir_install/$dir_prefix/$dir_datadir/$name"
mkdir -p "$dir_install/$dir_prefix/$dir_bindir"
ln -Tfs "/$dir_prefix/$dir_datadir/$name/bin/ant" "$dir_install/$dir_prefix/$dir_bindir/ant"
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab: