wok-next view procps-ng/receipt @ rev 20747
system-tools-backends: provide dev package; liboobs: use that package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed May 30 16:54:11 2018 +0300 (2018-05-30) |
parents | 90a5eb560fd6 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="procps-ng"
4 VERSION="3.3.12"
5 CATEGORY="base-system"
6 SHORT_DESC="Programs for monitoring processes"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL2"
9 WEB_SITE="https://gitlab.com/procps-ng/procps"
10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/procps-ng.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="gettext ncurses-dev"
16 SPLIT="procps-ng-dev"
18 compile_rules() {
19 ./configure \
20 --exec-prefix= \
21 --libdir=/usr/lib \
22 --disable-static \
23 --disable-kill \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make install || return 1
29 mkdir -p $install/lib
30 mv $install/usr/lib/libprocps.so.* $install/lib
31 ln -sf ../../lib/$(readlink $install/usr/lib/libprocps.so) \
32 $install/usr/lib/libprocps.so
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 procps-ng)
38 copy @std
39 DEPENDS="gettext-base ncurses"
40 TAGS="LFS"
41 ;;
42 *-dev) copy @dev;;
43 esac
44 }