wok annotate procps/receipt @ rev 24635
updated gutenprint and gutenprint-dev (5.3.3 -> 5.3.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 09 08:09:06 2022 +0100 (2022-03-09) |
parents | ea8947d8ad9b |
children | 7dd01dedad38 |
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 |
pascal@24361 | 17 # What is the latest version available today? |
pascal@24361 | 18 current_version() |
pascal@24361 | 19 { |
pascal@24361 | 20 wget -O - https://gitlab.com/procps-ng/procps/-/tags 2>/dev/null | \ |
pascal@24361 | 21 sed '/procps-v/!d;/tar/!d;s|.*procps-v||;s|.tar.*||;q' |
pascal@24361 | 22 } |
pascal@24361 | 23 |
paul@4297 | 24 # Rules to configure and make the package. |
paul@4297 | 25 compile_rules() |
paul@4297 | 26 { |
Hans-G?nter@21639 | 27 sed -i 's|lncurses|& -ltinfo|' Makefile && |
Hans-G?nter@21639 | 28 patch -Np1 -i $stuff/$PACKAGE-$VERSION+gmake-3.82.patch && |
Hans-G?nter@21639 | 29 make && |
Hans-G?nter@21639 | 30 make -j1 install |
paul@4297 | 31 } |
paul@4297 | 32 |
paul@4297 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4297 | 34 genpkg_rules() |
paul@4297 | 35 { |
paul@10948 | 36 mkdir -p $fs/usr |
Hans-G?nter@21639 | 37 |
Hans-G?nter@21639 | 38 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21639 | 39 cp -a $install/bin $fs |
Hans-G?nter@21639 | 40 cp -a $install/sbin $fs |
Hans-G?nter@21639 | 41 cp -a $install/lib $fs |
paul@4297 | 42 } |
paul@4297 | 43 |
pascal@8878 | 44 # Overlap busybox |
pascal@8878 | 45 pre_install() |
pascal@8878 | 46 { |
pascal@18730 | 47 rm -f "$1/bin/kill" |
pascal@18730 | 48 rm -f "$1/bin/ps" |
pascal@18730 | 49 rm -f "$1/bin/watch" |
pascal@18730 | 50 rm -f "$1/sbin/sysctl" |
pascal@18730 | 51 rm -f "$1/usr/bin/pkill" |
pascal@18730 | 52 rm -f "$1/usr/bin/pmap" |
pascal@18730 | 53 rm -f "$1/usr/bin/pgrep" |
pascal@18730 | 54 rm -f "$1/usr/bin/top" |
pascal@18730 | 55 rm -f "$1/usr/bin/free" |
pascal@18730 | 56 rm -f "$1/usr/bin/uptime" |
pascal@8878 | 57 } |
pascal@8878 | 58 |
pascal@8878 | 59 post_remove() |
pascal@8878 | 60 { |
paul@10940 | 61 ln -s /bin/busybox /bin/kill |
paul@10940 | 62 ln -s /bin/busybox /bin/ps |
paul@10940 | 63 ln -s /bin/busybox /bin/watch |
paul@10940 | 64 ln -s /bin/busybox /sbin/sysctl |
pascal@8878 | 65 ln -s /bin/busybox /usr/bin/pkill |
pascal@8878 | 66 ln -s /bin/busybox /usr/bin/pmap |
pascal@8878 | 67 ln -s /bin/busybox /usr/bin/pgrep |
paul@10940 | 68 ln -s /bin/busybox /usr/bin/top |
paul@10940 | 69 ln -s /bin/busybox /usr/bin/free |
paul@10940 | 70 ln -s /bin/busybox /usr/bin/uptime |
pascal@8878 | 71 } |