wok-next diff procps/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d6378d455338 |
children |
line diff
1.1 --- a/procps/receipt Thu May 10 21:12:00 2018 +0300 1.2 +++ b/procps/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -1,59 +1,24 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="procps" 1.8 VERSION="3.2.8" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="The proc filesystem utilities." 1.11 +SHORT_DESC="The proc filesystem utilities" 1.12 MAINTAINER="paul@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="http://procps.sourceforge.net/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="http://procps.sourceforge.net/" 1.18 WGET_URL="http://procps.sourceforge.net/$TARBALL" 1.19 1.20 -DEPENDS="ncurses" 1.21 BUILD_DEPENDS="ncurses-dev" 1.22 1.23 -# Rules to configure and make the package. 1.24 -compile_rules() 1.25 -{ 1.26 - make && make -j1 install 1.27 +compile_rules() { 1.28 + make && 1.29 + make -j1 install 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 - mkdir -p $fs/usr 1.36 - cp -a $install/usr/bin $fs/usr 1.37 - cp -a $install/bin $fs 1.38 - cp -a $install/sbin $fs 1.39 - cp -a $install/lib $fs 1.40 +genpkg_rules() { 1.41 + copy @std 1.42 + DEPENDS="ncurses" 1.43 } 1.44 - 1.45 -# Overlap busybox 1.46 -pre_install() 1.47 -{ 1.48 - rm -f "$1/bin/kill" 1.49 - rm -f "$1/bin/ps" 1.50 - rm -f "$1/bin/watch" 1.51 - rm -f "$1/sbin/sysctl" 1.52 - rm -f "$1/usr/bin/pkill" 1.53 - rm -f "$1/usr/bin/pmap" 1.54 - rm -f "$1/usr/bin/pgrep" 1.55 - rm -f "$1/usr/bin/top" 1.56 - rm -f "$1/usr/bin/free" 1.57 - rm -f "$1/usr/bin/uptime" 1.58 -} 1.59 - 1.60 -post_remove() 1.61 -{ 1.62 - ln -s /bin/busybox /bin/kill 1.63 - ln -s /bin/busybox /bin/ps 1.64 - ln -s /bin/busybox /bin/watch 1.65 - ln -s /bin/busybox /sbin/sysctl 1.66 - ln -s /bin/busybox /usr/bin/pkill 1.67 - ln -s /bin/busybox /usr/bin/pmap 1.68 - ln -s /bin/busybox /usr/bin/pgrep 1.69 - ln -s /bin/busybox /usr/bin/top 1.70 - ln -s /bin/busybox /usr/bin/free 1.71 - ln -s /bin/busybox /usr/bin/uptime 1.72 -}