From 4d58978e86fcf7b74bf9acee173bfc193f79a498 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 29 Jan 2013 07:46:34 +0000 Subject: main/procps: upgrade to 3.3.6 --- main/procps/APKBUILD | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD index 7ed82d6da2..25f8f84011 100644 --- a/main/procps/APKBUILD +++ b/main/procps/APKBUILD @@ -1,24 +1,24 @@ # Maintainer: Natanael Copa pkgname=procps -pkgver=3.3.4 -pkgrel=1 +pkgver=3.3.6 +pkgrel=0 pkgdesc="Utilities for monitoring your system and processes on your system" -url="http://gitorious.org/procps" +url="https://sourceforge.net/projects/procps-ng/" arch="all" license="GPL LGPL" depends= -# needs fancy install -makedepends="ncurses-dev coreutils" +makedepends="ncurses-dev autoconf automake" subpackages="$pkgname-dev $pkgname-doc libproc" -source="http://ftp.us.debian.org/debian/pool/main/p/procps/${pkgname}_${pkgver}.orig.tar.xz" +source="http://downloads.sourceforge.net/procps-ng/procps-ng-$pkgver.tar.xz" +_builddir="$srcdir"/procps-ng-$pkgver prepare() { - cd "$srcdir" -# patch -p1 -i "$srcdir"/01-fix-install-options-for-busybox.patch || return 1 + cd "$_builddir" + aclocal && autoconf && automake --add-missing } build() { - cd "$srcdir"/$pkgname-ng-$pkgver + cd "$_builddir" ./configure --prefix=/ \ --bindir=/bin \ --sbindir=/sbin \ @@ -35,13 +35,13 @@ build() { } package() { - cd "$srcdir"/$pkgname-ng-$pkgver + cd "$_builddir" 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 || return 1 - mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/ + install -d "$pkgdir"/usr/lib + mv "$pkgdir"/include "$pkgdir"/usr/ \ + && mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/ } libproc() { @@ -50,4 +50,4 @@ libproc() { mv "$pkgdir"/lib "$subpkgdir"/ } -md5sums="85efd032ad6514689d8dcadfac239008 procps_3.3.4.orig.tar.xz" +md5sums="0a050d9be531921db3cd38f1371e73e3 procps-ng-3.3.6.tar.xz" -- cgit v1.2.3