summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-02 05:07:06 +0000
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-02 05:07:06 +0000
commit6c1ab58d1873dc8ee9968e10e6ccabd945229bc0 (patch)
treea4f64f7a15ee3509cb89700ccc7229dc972d4193 /main
parentda4f2e12f7676136dd3272f3d309b622afe9d2fd (diff)
downloadaports-6c1ab58d1873dc8ee9968e10e6ccabd945229bc0.tar.bz2
aports-6c1ab58d1873dc8ee9968e10e6ccabd945229bc0.tar.xz
libmowgli: promote to main
Diffstat (limited to 'main')
-rw-r--r--main/libmowgli/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/libmowgli/APKBUILD b/main/libmowgli/APKBUILD
new file mode 100644
index 000000000..10e38dc55
--- /dev/null
+++ b/main/libmowgli/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: William Pitcock <nenolod@dereferenced.org>
+# Maintainer: William Pitcock <nenolod@dereferenced.org>
+pkgname=libmowgli
+pkgver=0.7.1
+pkgrel=0
+pkgdesc="mowgli is a framework designed to reduce writing of boilerplate code"
+url="http://atheme.org/project/mowgli"
+arch="all"
+license="ISC"
+depends=
+makedepends=
+install=
+subpackages="$pkgname-dev"
+source="http://distfiles.atheme.org/$pkgname-$pkgver.tgz"
+
+_builddir="$srcdir"/$pkgname-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # workaround bug in busybox
+ sed -e "/touch/s/0001010000/200001010000/g" \
+ -i configure
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="3eaf4405c095d8e145c87fcbeeda00bc libmowgli-0.7.1.tgz"