blob: e5af5f80dfecda1768037c2cfcb9609135470be3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=procps
pkgver=3.3.4
pkgrel=0
pkgdesc="Utilities for monitoring your system and processes on your system"
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://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
}
build() {
cd "$srcdir"/$pkgname-ng-$pkgver
./configure --prefix=/usr \
--libdir=/lib \
--with-ncurses
make || return 1
}
package() {
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() {
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="85efd032ad6514689d8dcadfac239008 procps_3.3.4.orig.tar.xz"
|