From 3c80ffcde355ba9c2b4629b4bdf3efef1278811a Mon Sep 17 00:00:00 2001 From: Leonardo Arena Date: Fri, 7 Apr 2017 15:02:16 +0000 Subject: community/psmisc: fix build for ppc64le https://github.com/leitao/aports/commit/9f4395581c9d594d2ffed51f2354c991e2c88c1a --- community/psmisc/APKBUILD | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'community/psmisc/APKBUILD') diff --git a/community/psmisc/APKBUILD b/community/psmisc/APKBUILD index 3022d64b34..2bd302c7df 100644 --- a/community/psmisc/APKBUILD +++ b/community/psmisc/APKBUILD @@ -1,17 +1,25 @@ # Maintainer: Stuart Cardall pkgname=psmisc pkgver=22.21 -pkgrel=1 +pkgrel=2 pkgdesc="A set of some small useful utilities that use the proc filesystem" url="http://psmisc.sourceforge.net/" -arch="all !ppc64le" #does not build yet for ppc64le +arch="all" license="BSD GPL" depends="" -makedepends="ncurses-dev" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/psmisc/$pkgname-$pkgver.tar.gz" +makedepends="gettext-dev libintl ncurses-dev" +subpackages="$pkgname-doc $pkgname-lang" +source="http://downloads.sourceforge.net/psmisc/$pkgname-$pkgver.tar.gz + include_limits.patch + peekfd_lintl.patch + " builddir="$srcdir/$pkgname-$pkgver" +prepare() { + cd "$builddir" + default_prepare +} + build() { cd "$builddir" ./configure --prefix=/usr \ @@ -27,6 +35,11 @@ package() { make DESTDIR="$pkgdir" install || return 1 } -md5sums="935c0fd6eb208288262b385fa656f1bf psmisc-22.21.tar.gz" -sha256sums="97323cad619210845b696d7d722c383852b2acb5c49b5b0852c4f29c77a8145a psmisc-22.21.tar.gz" -sha512sums="766aeb45687090b88b17176c5117a603e83fe92a13c013aea72c8ee80048adf02e18c7daa52ddfb8b2135f7c9a1bcae38896cdfb8d0158728d85a446c5e0d5ae psmisc-22.21.tar.gz" +check() { + cd "$builddir" + make check +} + +sha512sums="766aeb45687090b88b17176c5117a603e83fe92a13c013aea72c8ee80048adf02e18c7daa52ddfb8b2135f7c9a1bcae38896cdfb8d0158728d85a446c5e0d5ae psmisc-22.21.tar.gz +63dea6a65c4cabcfa06d225950bc78fd6ac42f7445b8d10bde5e86dd8d96eb89823e486d7635b78562da058642f87289356c416225563a8e1ccfc2e32d81e884 include_limits.patch +ec84b84a02e48aed9f47a9efdd7ee4a4d409373751e9872e32c06912b506d9102a0526f244dcaff172598cd77e61344d38449a60181c2bbb010a674662e8f439 peekfd_lintl.patch" -- cgit v1.2.3