aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-05 02:13:04 +0000
committerRoberto Oliveira <robertoguimaraes8@gmail.com>2017-11-05 02:13:04 +0000
commit0210432eb3dba30afa673a623c22c6f2ae9b8676 (patch)
tree4d08c384438a44dc03d8a3f540ce11ac164347fc
parentb1274f164d3742fc5a47f4ab85a91baef72338ec (diff)
downloadaports-0210432eb3dba30afa673a623c22c6f2ae9b8676.tar.bz2
aports-0210432eb3dba30afa673a623c22c6f2ae9b8676.tar.xz
testing/iprutils: move to community
-rw-r--r--community/iprutils/APKBUILD (renamed from testing/iprutils/APKBUILD)15
1 files changed, 11 insertions, 4 deletions
diff --git a/testing/iprutils/APKBUILD b/community/iprutils/APKBUILD
index 695e30236d..abf99a1d14 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