wok annotate procps/receipt @ rev 22040

updated tokyocabinet and tokyocabinet-dev (1.4.32 -> 1.4.48)
author Hans-G?nter Theisgen
date Mon Oct 21 17:24:12 2019 +0100 (2019-10-21)
parents 9e01bc6321ea
children 370da83187ab
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"
Hans-G?nter@21639 9 WEB_SITE="http://procps.sourceforge.net/"
Hans-G?nter@21639 10
paul@4297 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4297 12 WGET_URL="http://procps.sourceforge.net/$TARBALL"
paul@4297 13
pascal@15375 14 DEPENDS="ncurses"
pascal@15375 15 BUILD_DEPENDS="ncurses-dev"
pascal@15375 16
paul@4297 17 # Rules to configure and make the package.
paul@4297 18 compile_rules()
paul@4297 19 {
Hans-G?nter@21639 20 sed -i 's|lncurses|& -ltinfo|' Makefile &&
Hans-G?nter@21639 21 patch -Np1 -i $stuff/$PACKAGE-$VERSION+gmake-3.82.patch &&
Hans-G?nter@21639 22 make &&
Hans-G?nter@21639 23 make -j1 install
paul@4297 24 }
paul@4297 25
paul@4297 26 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4297 27 genpkg_rules()
paul@4297 28 {
paul@10948 29 mkdir -p $fs/usr
Hans-G?nter@21639 30
Hans-G?nter@21639 31 cp -a $install/usr/bin $fs/usr
Hans-G?nter@21639 32 cp -a $install/bin $fs
Hans-G?nter@21639 33 cp -a $install/sbin $fs
Hans-G?nter@21639 34 cp -a $install/lib $fs
paul@4297 35 }
paul@4297 36
pascal@8878 37 # Overlap busybox
pascal@8878 38 pre_install()
pascal@8878 39 {
pascal@18730 40 rm -f "$1/bin/kill"
pascal@18730 41 rm -f "$1/bin/ps"
pascal@18730 42 rm -f "$1/bin/watch"
pascal@18730 43 rm -f "$1/sbin/sysctl"
pascal@18730 44 rm -f "$1/usr/bin/pkill"
pascal@18730 45 rm -f "$1/usr/bin/pmap"
pascal@18730 46 rm -f "$1/usr/bin/pgrep"
pascal@18730 47 rm -f "$1/usr/bin/top"
pascal@18730 48 rm -f "$1/usr/bin/free"
pascal@18730 49 rm -f "$1/usr/bin/uptime"
pascal@8878 50 }
pascal@8878 51
pascal@8878 52 post_remove()
pascal@8878 53 {
paul@10940 54 ln -s /bin/busybox /bin/kill
paul@10940 55 ln -s /bin/busybox /bin/ps
paul@10940 56 ln -s /bin/busybox /bin/watch
paul@10940 57 ln -s /bin/busybox /sbin/sysctl
pascal@8878 58 ln -s /bin/busybox /usr/bin/pkill
pascal@8878 59 ln -s /bin/busybox /usr/bin/pmap
pascal@8878 60 ln -s /bin/busybox /usr/bin/pgrep
paul@10940 61 ln -s /bin/busybox /usr/bin/top
paul@10940 62 ln -s /bin/busybox /usr/bin/free
paul@10940 63 ln -s /bin/busybox /usr/bin/uptime
pascal@8878 64 }