summaryrefslogtreecommitdiffstats
path: root/main/procps/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-01-11 11:57:43 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-01-11 11:57:43 +0000
commitc2ab6b6031cccc0d48c525541bdd10d57d18b3b4 (patch)
treed363e88a5c7890b10f7b4d1bd29201fab7f7ce0f /main/procps/APKBUILD
parenta5975fac2436f2c904dad0a745c1d8f65a587935 (diff)
downloadaports-c2ab6b6031cccc0d48c525541bdd10d57d18b3b4.tar.bz2
aports-c2ab6b6031cccc0d48c525541bdd10d57d18b3b4.tar.xz
main/procps: new aport
Utilities for monitoring your system and processes on your system http://procps.sourceforge.net/
Diffstat (limited to 'main/procps/APKBUILD')
-rw-r--r--main/procps/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD
new file mode 100644
index 000000000..83204ad1b
--- /dev/null
+++ b/main/procps/APKBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=procps
+pkgver=3.2.8
+pkgrel=0
+pkgdesc="Utilities for monitoring your system and processes on your system"
+url="http://procps.sourceforge.net/"
+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"
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make || return 1
+}
+
+package() {
+ cd "$srcdir"/$pkgname-$pkgver
+ make DESTDIR="$pkgdir" ldconfig=true install || return 1
+ install -d "$pkgdir"/usr/include/proc || return 1
+ install -m644 proc/*.h "$pkgdir"/usr/include/proc/ || return 1
+}
+
+libproc() {
+ pkgdesc="Library for monitoring system and processes"
+ install -d "$subpkgdir"/lib
+ mv "$pkgdir"/lib/libproc* "$subpkgdir"/lib/
+ ln -s libproc-$pkgver.so "$subpkgdir"/lib/libproc.so
+}
+
+md5sums="9532714b6846013ca9898984ba4cd7e0 procps-3.2.8.tar.gz"