aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2010-12-16 09:15:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-12-16 12:29:45 +0000
commit8c314498499fc89b800ec5e72883aab438d11e9b (patch)
treea17a5bed6a9386ce234dfddc00fc49815d3190f5
parentb74c2b39e936a31559ae69ea6047461932d7d485 (diff)
downloadaports-8c314498499fc89b800ec5e72883aab438d11e9b.tar.bz2
aports-8c314498499fc89b800ec5e72883aab438d11e9b.tar.xz
testing/libmcs: new aport
-rw-r--r--testing/libmcs/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/libmcs/APKBUILD b/testing/libmcs/APKBUILD
new file mode 100644
index 0000000000..f936d8cfe1
--- /dev/null
+++ b/testing/libmcs/APKBUILD
@@ -0,0 +1,32 @@
+# 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
+
+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"