wok-next annotate procps/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | e294d3f75974 |
children | d5aab818505e |
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 { |
slaxemulator@9016 | 19 make && make -j1 install |
paul@4297 | 20 } |
paul@4297 | 21 |
paul@4297 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4297 | 23 genpkg_rules() |
paul@4297 | 24 { |
paul@10948 | 25 mkdir -p $fs/usr |
pascal@15375 | 26 cp -a $install/usr/bin $fs/usr |
pascal@15375 | 27 cp -a $install/bin $fs |
pascal@15375 | 28 cp -a $install/sbin $fs |
pascal@15375 | 29 cp -a $install/lib $fs |
paul@4297 | 30 } |
paul@4297 | 31 |
pascal@8878 | 32 # Overlap busybox |
pascal@8878 | 33 pre_install() |
pascal@8878 | 34 { |
pascal@18730 | 35 rm -f "$1/bin/kill" |
pascal@18730 | 36 rm -f "$1/bin/ps" |
pascal@18730 | 37 rm -f "$1/bin/watch" |
pascal@18730 | 38 rm -f "$1/sbin/sysctl" |
pascal@18730 | 39 rm -f "$1/usr/bin/pkill" |
pascal@18730 | 40 rm -f "$1/usr/bin/pmap" |
pascal@18730 | 41 rm -f "$1/usr/bin/pgrep" |
pascal@18730 | 42 rm -f "$1/usr/bin/top" |
pascal@18730 | 43 rm -f "$1/usr/bin/free" |
pascal@18730 | 44 rm -f "$1/usr/bin/uptime" |
pascal@8878 | 45 } |
pascal@8878 | 46 |
pascal@8878 | 47 post_remove() |
pascal@8878 | 48 { |
paul@10940 | 49 ln -s /bin/busybox /bin/kill |
paul@10940 | 50 ln -s /bin/busybox /bin/ps |
paul@10940 | 51 ln -s /bin/busybox /bin/watch |
paul@10940 | 52 ln -s /bin/busybox /sbin/sysctl |
pascal@8878 | 53 ln -s /bin/busybox /usr/bin/pkill |
pascal@8878 | 54 ln -s /bin/busybox /usr/bin/pmap |
pascal@8878 | 55 ln -s /bin/busybox /usr/bin/pgrep |
paul@10940 | 56 ln -s /bin/busybox /usr/bin/top |
paul@10940 | 57 ln -s /bin/busybox /usr/bin/free |
paul@10940 | 58 ln -s /bin/busybox /usr/bin/uptime |
pascal@8878 | 59 } |