wok-next annotate procps-ng/receipt @ rev 20835
prosody: correct place for lua.h in lua5.1
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Jun 17 19:24:33 2018 +0000 (2018-06-17) |
parents | 90a5eb560fd6 |
children | d5aab818505e |
rev | line source |
---|---|
al@19745 | 1 # SliTaz package receipt v2. |
al@19576 | 2 |
al@19576 | 3 PACKAGE="procps-ng" |
al@19576 | 4 VERSION="3.3.12" |
al@19576 | 5 CATEGORY="base-system" |
al@19576 | 6 SHORT_DESC="Programs for monitoring processes" |
al@19576 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19576 | 8 LICENSE="GPL2 LGPL2" |
al@19576 | 9 WEB_SITE="https://gitlab.com/procps-ng/procps" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/procps-ng.html" |
al@19576 | 11 |
al@19576 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19576 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@19576 | 14 |
al@19576 | 15 BUILD_DEPENDS="gettext ncurses-dev" |
al@19745 | 16 SPLIT="procps-ng-dev" |
al@19576 | 17 |
al@20436 | 18 compile_rules() { |
al@19576 | 19 ./configure \ |
al@19576 | 20 --exec-prefix= \ |
al@19576 | 21 --libdir=/usr/lib \ |
al@19576 | 22 --disable-static \ |
al@19576 | 23 --disable-kill \ |
al@19576 | 24 $CONFIGURE_ARGS && |
al@20604 | 25 fix libtool && |
al@20604 | 26 make && |
al@20604 | 27 make install || return 1 |
al@19576 | 28 |
al@19576 | 29 mkdir -p $install/lib |
al@19576 | 30 mv $install/usr/lib/libprocps.so.* $install/lib |
al@19576 | 31 ln -sf ../../lib/$(readlink $install/usr/lib/libprocps.so) \ |
al@19576 | 32 $install/usr/lib/libprocps.so |
al@19576 | 33 } |
al@19576 | 34 |
al@20436 | 35 genpkg_rules() { |
al@19745 | 36 case $PACKAGE in |
al@19745 | 37 procps-ng) |
al@19745 | 38 copy @std |
al@19745 | 39 DEPENDS="gettext-base ncurses" |
al@20436 | 40 TAGS="LFS" |
al@19745 | 41 ;; |
al@19745 | 42 *-dev) copy @dev;; |
al@19745 | 43 esac |
al@19576 | 44 } |