diff --git a/satellites/ant.sat b/satellites/ant.sat new file mode 100644 index 0000000..3342b8e --- /dev/null +++ b/satellites/ant.sat @@ -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: