aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-01-29 07:46:34 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-01-29 07:46:34 +0000
commit4d58978e86fcf7b74bf9acee173bfc193f79a498 (patch)
treed56f5ccf1ac8a30b5ee4d52dd25c2669cbddae73 /main
parentd37343ea71ef531a6c40389307fd1cda6e5ea3fa (diff)
downloadaports-4d58978e86fcf7b74bf9acee173bfc193f79a498.tar.bz2
aports-4d58978e86fcf7b74bf9acee173bfc193f79a498.tar.xz
main/procps: upgrade to 3.3.6
Diffstat (limited to 'main')
-rw-r--r--main/procps/APKBUILD28
1 files 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 <ncopa@alpinelinux.org>
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"