diff options
author | William Pitcock <nenolod@dereferenced.org> | 2011-01-02 05:07:24 +0000 |
---|---|---|
committer | William Pitcock <nenolod@dereferenced.org> | 2011-01-02 05:07:24 +0000 |
commit | 901288fade7678e77eb1ecc1d637381c3fcb91d1 (patch) | |
tree | fe8c96b8ba5cf71c573f30d707d2081a018a25fd /main | |
parent | 6c1ab58d1873dc8ee9968e10e6ccabd945229bc0 (diff) | |
download | aports-901288fade7678e77eb1ecc1d637381c3fcb91d1.tar.bz2 aports-901288fade7678e77eb1ecc1d637381c3fcb91d1.tar.xz |
libmcs: promote to main
Diffstat (limited to 'main')
-rw-r--r-- | main/libmcs/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/libmcs/APKBUILD b/main/libmcs/APKBUILD new file mode 100644 index 000000000..b21a1cddc --- /dev/null +++ b/main/libmcs/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: William Pitcock <nenolod@dereferenced.org> +# Maintainer: William Pitcock <nenolod@dereferenced.org> +pkgname=libmcs +pkgver=0.7.2 +pkgrel=0 +pkgdesc="library for configuration system abstraction" +url="http://atheme.org/project/mcs" +arch="all" +license="ISC" +depends= +makedepends="libmowgli-dev" +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="c47fc81f3efacaa0a5a0b8fd14f9d48e libmcs-0.7.2.tgz" |