From 0210432eb3dba30afa673a623c22c6f2ae9b8676 Mon Sep 17 00:00:00 2001 From: Roberto Oliveira Date: Sun, 5 Nov 2017 02:13:04 +0000 Subject: [PATCH] testing/iprutils: move to community --- {testing => community}/iprutils/APKBUILD | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) rename {testing => community}/iprutils/APKBUILD (90%) diff --git a/testing/iprutils/APKBUILD b/community/iprutils/APKBUILD similarity index 90% rename from testing/iprutils/APKBUILD rename to community/iprutils/APKBUILD index 695e30236d3..abf99a1d14b 100644 --- a/testing/iprutils/APKBUILD +++ b/community/iprutils/APKBUILD @@ -5,7 +5,6 @@ pkgrel=1 pkgdesc="user space tools required by the ipr device driver." url="https://github.com/bjking1/iprutils" arch="ppc64le" -options="!check" license="CPL" depends="zlib ncurses" makedepends="autoconf automake libtool linux-headers m4 ncurses-dev zlib-dev" @@ -15,10 +14,13 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/bjking1/$pkgname/archive/rel builddir="$srcdir"/iprutils-rel-$_pkgver -build() { - cd "$builddir" - ./bootstrap.sh +prepare() { + default_prepare + cd "$builddir" + ./bootstrap.sh +} +build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ @@ -30,6 +32,11 @@ build() { make } +check() { + cd "$builddir" + make check +} + package() { cd "$builddir" make DESTDIR="$pkgdir" install