aboutsummaryrefslogtreecommitdiffstats
path: root/main/fastjar
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@iki.fi>2011-03-25 23:18:06 +0000
committerTimo Teras <timo.teras@iki.fi>2011-03-25 23:18:21 +0000
commit3e22c17921ac837c1f7399f13fcb57b798d0985f (patch)
tree59ee72787f53a15fdc5f58d428a425e743b9cb17 /main/fastjar
parent9a612f6719f594d0825e1cca0b6d5f3bc46db9ae (diff)
downloadaports-3e22c17921ac837c1f7399f13fcb57b798d0985f.tar.bz2
aports-3e22c17921ac837c1f7399f13fcb57b798d0985f.tar.xz
main/fastjar: new aport
Diffstat (limited to 'main/fastjar')
-rw-r--r--main/fastjar/APKBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/main/fastjar/APKBUILD b/main/fastjar/APKBUILD
new file mode 100644
index 0000000000..66c0a40773
--- /dev/null
+++ b/main/fastjar/APKBUILD
@@ -0,0 +1,44 @@
+# Contributor: Timo Teras <timo.teras@iki.fi>
+# Maintainer: Timo Teras <timo.teras@iki.fi>
+pkgname=fastjar
+pkgver=0.98
+pkgrel=0
+pkgdesc="A fast implementation of Java Archiver"
+url="http://savannah.nongnu.org/projects/fastjar"
+arch="all"
+license="GPL-2"
+depends=
+depends_dev=
+makedepends="$depends_dev"
+install=""
+subpackages="$pkgname-doc"
+source="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
+
+_builddir=$srcdir/$pkgname-$pkgver
+prepare() {
+ local i
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="d2d264d343d4d0e1575832cc1023c3bf fastjar-0.98.tar.gz"