wok annotate procps/receipt @ rev 21228
updated libgsf and libgsf-dev (1.14.40 -> 1.14.45)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 10 17:30:23 2019 +0100 (2019-04-10) |
parents | c7c3567bd8d4 |
children | ea8947d8ad9b |
rev | line source |
---|---|
paul@4297 | 1 # SliTaz package receipt. |
paul@4297 | 2 |
paul@4297 | 3 PACKAGE="procps" |
paul@4297 | 4 VERSION="3.2.8" |
paul@4297 | 5 CATEGORY="utilities" |
paul@4297 | 6 SHORT_DESC="The proc filesystem utilities." |
paul@4297 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15375 | 8 LICENSE="GPL2" |
paul@4297 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4297 | 10 WEB_SITE="http://procps.sourceforge.net/" |
paul@4297 | 11 WGET_URL="http://procps.sourceforge.net/$TARBALL" |
paul@4297 | 12 |
pascal@15375 | 13 DEPENDS="ncurses" |
pascal@15375 | 14 BUILD_DEPENDS="ncurses-dev" |
pascal@15375 | 15 |
paul@4297 | 16 # Rules to configure and make the package. |
paul@4297 | 17 compile_rules() |
paul@4297 | 18 { |
pascal@17673 | 19 sed -i 's|lncurses|& -ltinfo|' Makefile |
slaxemulator@9016 | 20 patch -Np1 -i $stuff/$PACKAGE-$VERSION+gmake-3.82.patch |
slaxemulator@9016 | 21 make && make -j1 install |
paul@4297 | 22 } |
paul@4297 | 23 |
paul@4297 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4297 | 25 genpkg_rules() |
paul@4297 | 26 { |
paul@10948 | 27 mkdir -p $fs/usr |
pascal@15375 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15375 | 29 cp -a $install/bin $fs |
pascal@15375 | 30 cp -a $install/sbin $fs |
pascal@15375 | 31 cp -a $install/lib $fs |
paul@4297 | 32 } |
paul@4297 | 33 |
pascal@8878 | 34 # Overlap busybox |
pascal@8878 | 35 pre_install() |
pascal@8878 | 36 { |
pascal@18730 | 37 rm -f "$1/bin/kill" |
pascal@18730 | 38 rm -f "$1/bin/ps" |
pascal@18730 | 39 rm -f "$1/bin/watch" |
pascal@18730 | 40 rm -f "$1/sbin/sysctl" |
pascal@18730 | 41 rm -f "$1/usr/bin/pkill" |
pascal@18730 | 42 rm -f "$1/usr/bin/pmap" |
pascal@18730 | 43 rm -f "$1/usr/bin/pgrep" |
pascal@18730 | 44 rm -f "$1/usr/bin/top" |
pascal@18730 | 45 rm -f "$1/usr/bin/free" |
pascal@18730 | 46 rm -f "$1/usr/bin/uptime" |
pascal@8878 | 47 } |
pascal@8878 | 48 |
pascal@8878 | 49 post_remove() |
pascal@8878 | 50 { |
paul@10940 | 51 ln -s /bin/busybox /bin/kill |
paul@10940 | 52 ln -s /bin/busybox /bin/ps |
paul@10940 | 53 ln -s /bin/busybox /bin/watch |
paul@10940 | 54 ln -s /bin/busybox /sbin/sysctl |
pascal@8878 | 55 ln -s /bin/busybox /usr/bin/pkill |
pascal@8878 | 56 ln -s /bin/busybox /usr/bin/pmap |
pascal@8878 | 57 ln -s /bin/busybox /usr/bin/pgrep |
paul@10940 | 58 ln -s /bin/busybox /usr/bin/top |
paul@10940 | 59 ln -s /bin/busybox /usr/bin/free |
paul@10940 | 60 ln -s /bin/busybox /usr/bin/uptime |
pascal@8878 | 61 } |