diff options
Diffstat (limited to 'main/procps/APKBUILD')
-rw-r--r-- | main/procps/APKBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD index 41a28c0fa9..e5af5f80df 100644 --- a/main/procps/APKBUILD +++ b/main/procps/APKBUILD @@ -1,34 +1,37 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=procps -pkgver=3.2.8 -pkgrel=2 +pkgver=3.3.4 +pkgrel=0 pkgdesc="Utilities for monitoring your system and processes on your system" -url="http://procps.sourceforge.net/" +url="http://gitorious.org/procps" arch="all" license="GPL LGPL" depends= # needs fancy install makedepends="ncurses-dev coreutils" subpackages="$pkgname-dev $pkgname-doc libproc" -source="http://$pkgname.sourceforge.net/$pkgname-$pkgver.tar.gz - 01-fix-install-options-for-busybox.patch" +source="http://ftp.us.debian.org/debian/pool/main/p/procps/${pkgname}_${pkgver}.orig.tar.xz" prepare() { cd "$srcdir" - patch -p1 -i "$srcdir"/01-fix-install-options-for-busybox.patch || return 1 +# patch -p1 -i "$srcdir"/01-fix-install-options-for-busybox.patch || return 1 } build() { - cd "$srcdir"/$pkgname-$pkgver + cd "$srcdir"/$pkgname-ng-$pkgver + ./configure --prefix=/usr \ + --libdir=/lib \ + --with-ncurses make || return 1 } package() { - cd "$srcdir"/$pkgname-$pkgver + cd "$srcdir"/$pkgname-ng-$pkgver make DESTDIR="$pkgdir" ldconfig=true install="install -D" \ install || return 1 install -d "$pkgdir"/usr/include/proc || return 1 install -m644 proc/*.h "$pkgdir"/usr/include/proc/ || return 1 + rm "$pkgdir"/lib/*.la } libproc() { @@ -38,5 +41,4 @@ libproc() { ln -s libproc-$pkgver.so "$subpkgdir"/lib/libproc.so } -md5sums="9532714b6846013ca9898984ba4cd7e0 procps-3.2.8.tar.gz -2b821e841acd08620789d5ffd19d58e9 01-fix-install-options-for-busybox.patch" +md5sums="85efd032ad6514689d8dcadfac239008 procps_3.3.4.orig.tar.xz" |