aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mm/APKBUILD
diff options
context:
space:
mode:
authorValery Kartel <valery.kartel@gmail.com>2017-02-24 15:01:22 +0200
committerLeonardo Arena <rnalrd@alpinelinux.org>2017-02-24 13:46:47 +0000
commitfd1b80b490dfe96e45b7756528949d9fe3af5be0 (patch)
tree63783dcae353d28b06188d19043b7d0457bda4a3 /testing/mm/APKBUILD
parent23b9a4551f77c59c198fb0ab0c1b3fab1b59713c (diff)
downloadaports-fd1b80b490dfe96e45b7756528949d9fe3af5be0.tar.bz2
aports-fd1b80b490dfe96e45b7756528949d9fe3af5be0.tar.xz
testing/mm: new aport
A shared memory abstraction library http://www.ossp.org/pkg/lib/mm/
Diffstat (limited to 'testing/mm/APKBUILD')
-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"