aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mm
diff options
context:
space:
mode:
Diffstat (limited to 'testing/mm')
-rw-r--r--testing/mm/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/mm/APKBUILD b/testing/mm/APKBUILD
new file mode 100644
index 0000000000..7b67f786a1
--- /dev/null
+++ b/testing/mm/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Valery Kartel <valery.kartel@gmail.com>
+# Maintainer: Valery Kartel <valery.kartel@gmail.com>
+pkgname=mm
+pkgver=1.4.2
+pkgrel=0
+pkgdesc="A shared memory abstraction library"
+url="http://www.ossp.org/pkg/lib/mm/"
+arch="all"
+license="custom"
+depends=
+makedepends=
+subpackages="$pkgname-dev $pkgname-doc"
+source="ftp://ftp.ossp.org/pkg/lib/$pkgname/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
+
+build() {
+ cd "$builddir"
+ ./configure --prefix=/usr || retrun 1
+ make || return 1
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+sha512sums="dcc12676453cfaf19560f99fa97e905428051d72b46aeaf574300f51e64f689caa70c81b619b8794ad604e8a2efe6bde1e486a2e315263b5694d6eab1cacc182 mm-1.4.2.tar.gz"