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.
|
|
|
name=apache-ant
|
|
|
|
version=1.10.1
|
|
|
|
|
|
|
|
dlextract "https://www.apache.org/dist/ant/source/$name-$version-src.tar.xz" \
|
|
|
|
'ebecbe7488c624b06bc6a264a3a7c4ec'
|
|
|
|
_
|
|
|
|
|
|
|
|
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_data/$name"
|
|
|
|
cp -Ta dist "$dir_install/$dir_prefix/$dir_data/$name"
|
|
|
|
mkdir -p "$dir_install/$dir_prefix/$dir_bin"
|
|
|
|
ln -Tfs "/$dir_prefix/$dir_data/$name/bin/ant" "$dir_install/$dir_prefix/$dir_bin/ant"
|
|
|
|
|
|
|
|
# vim:set tabstop=4 shiftwidth=4 syntax=sh expandtab:
|