diff options
Diffstat (limited to 'testing/mm')
-rw-r--r-- | testing/mm/APKBUILD | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/testing/mm/APKBUILD b/testing/mm/APKBUILD index a014d84564..8e047b89a0 100644 --- a/testing/mm/APKBUILD +++ b/testing/mm/APKBUILD @@ -8,15 +8,13 @@ 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.ntua.gr/pub/utils/ossp/lib/$pkgname/$pkgname-$pkgver.tar.gz" builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$builddir" - update_config_sub || return 1 + update_config_sub } build() { @@ -25,13 +23,18 @@ build() { --build=$CBUILD \ --host=$CHOST \ --target=$CTARGET \ - --prefix=/usr || return 1 - make || return 1 + --prefix=/usr + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } |