From 901288fade7678e77eb1ecc1d637381c3fcb91d1 Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sun, 2 Jan 2011 05:07:24 +0000 Subject: libmcs: promote to main --- main/libmcs/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 main/libmcs/APKBUILD (limited to 'main/libmcs') 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 +# Maintainer: William Pitcock +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" -- cgit v1.2.3