aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-01-29 07:29:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-01-29 07:30:26 +0000
commitd37343ea71ef531a6c40389307fd1cda6e5ea3fa (patch)
tree450c51d98c3c24341055a81b6fdfda87c4a0511e
parent35f0e506abf1a1f799d7178780889b8c7a301ea5 (diff)
downloadaports-d37343ea71ef531a6c40389307fd1cda6e5ea3fa.tar.bz2
aports-d37343ea71ef531a6c40389307fd1cda6e5ea3fa.tar.xz
main/procps: fix install dirs
-rw-r--r--main/procps/APKBUILD21
1 files changed, 15 insertions, 6 deletions
diff --git a/main/procps/APKBUILD b/main/procps/APKBUILD
index e5af5f80df..7ed82d6da2 100644
--- a/main/procps/APKBUILD
+++ b/main/procps/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=procps
pkgver=3.3.4
-pkgrel=0
+pkgrel=1
pkgdesc="Utilities for monitoring your system and processes on your system"
url="http://gitorious.org/procps"
arch="all"
@@ -19,8 +19,17 @@ prepare() {
build() {
cd "$srcdir"/$pkgname-ng-$pkgver
- ./configure --prefix=/usr \
+ ./configure --prefix=/ \
+ --bindir=/bin \
+ --sbindir=/sbin \
--libdir=/lib \
+ --mandir=/usr/share/man \
+ --sysconfdir=/etc \
+ --docdir=/usr/share/doc \
+ --disable-static \
+ --disable-w-from \
+ --disable-kill \
+ --disable-rpath \
--with-ncurses
make || return 1
}
@@ -31,14 +40,14 @@ package() {
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
+ rm "$pkgdir"/lib/*.la || return 1
+ mv "$pkgdir"/lib/pkgconfig "$pkgdir"/usr/lib/
}
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
+ install -d "$subpkgdir"/
+ mv "$pkgdir"/lib "$subpkgdir"/
}
md5sums="85efd032ad6514689d8dcadfac239008 procps_3.3.4.orig.tar.xz"