aboutsummaryrefslogtreecommitdiffstats
path: root/testing/blists/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-07-21 09:14:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-07-21 09:15:09 +0000
commitc093215d8c429315348ad795ab490032b1288a38 (patch)
tree3847e4aa1b3ab29896789eeb16d4203cf221c14a /testing/blists/APKBUILD
parenta9f32e1b9b566e47bf35f16af1501d43853c5eb5 (diff)
downloadaports-c093215d8c429315348ad795ab490032b1288a38.tar.bz2
aports-c093215d8c429315348ad795ab490032b1288a38.tar.xz
testing/blists: new aport
Web interface to mailing list archives http://www.openwall.com/blists/
Diffstat (limited to 'testing/blists/APKBUILD')
-rw-r--r--testing/blists/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/testing/blists/APKBUILD b/testing/blists/APKBUILD
new file mode 100644
index 0000000000..e900f263c6
--- /dev/null
+++ b/testing/blists/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Natanael Copa <ncopa@alpinelinux.org>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=blists
+pkgver=1.0
+pkgrel=0
+pkgdesc="Web interface to mailing list archives"
+url="http://www.openwall.com/blists/"
+arch="all"
+license="BSD"
+depends=
+makedepends=
+install=
+subpackages=
+source="http://www.openwall.com/blists/blists-$pkgver.tar.gz"
+
+_builddir="$srcdir"/blists-$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"
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ install -D bit "$pkgdir"/usr/bin/bit
+ install -D bindex "$pkgdir"/usr/bin/bindex
+}
+
+md5sums="bd84e3793ec05d3910631e7b55e32630 blists-1.0.tar.gz"