mid-kid
7 years ago
1 changed files with 21 additions and 0 deletions
@ -0,0 +1,21 @@ |
|||
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: |
Loading…
Reference in new issue