wok-next annotate procps-ng/receipt @ rev 20214
xchat: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 05 08:49:55 2017 +0100 (2017-11-05) |
parents | 01b295f47e95 |
children | 90a5eb560fd6 |
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@19576 | 10 |
al@19576 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
al@19576 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
al@19576 | 13 |
al@19576 | 14 BUILD_DEPENDS="gettext ncurses-dev" |
al@19745 | 15 SPLIT="procps-ng-dev" |
al@19576 | 16 |
al@19576 | 17 # Rules to configure and make the package. |
al@19576 | 18 compile_rules() |
al@19576 | 19 { |
al@19576 | 20 ./configure \ |
al@19576 | 21 --exec-prefix= \ |
al@19576 | 22 --libdir=/usr/lib \ |
al@19576 | 23 --docdir=/usr/share/doc/procps-ng-$VERSION \ |
al@19576 | 24 --disable-static \ |
al@19576 | 25 --disable-kill \ |
al@19576 | 26 $CONFIGURE_ARGS && |
al@19576 | 27 make && make install |
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@19576 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19576 | 36 genpkg_rules() |
al@19576 | 37 { |
al@19745 | 38 case $PACKAGE in |
al@19745 | 39 procps-ng) |
al@19745 | 40 copy @std |
al@19745 | 41 DEPENDS="gettext-base ncurses" |
al@19745 | 42 ;; |
al@19745 | 43 *-dev) copy @dev;; |
al@19745 | 44 esac |
al@19576 | 45 } |