wok annotate inxi/receipt @ rev 22561
updated boxbackup-client and boxbackup-server (0.11.1 -> 0.12)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 05 11:14:45 2020 +0100 (2020-01-05) |
parents | 87acb38c52b3 |
children | 4fa6f2bddd14 |
rev | line source |
---|---|
al@19103 | 1 # SliTaz package receipt. |
al@19103 | 2 |
al@19103 | 3 PACKAGE="inxi" |
Hans-G?nter@21054 | 4 VERSION="3.0.32.1" |
al@19103 | 5 CATEGORY="utilities" |
Hans-G?nter@21054 | 6 TAGS="system-information" |
Hans-G?nter@21054 | 7 SHORT_DESC="Full featured CLI system information tool." |
al@19103 | 8 MAINTAINER="al.bobylev@gmail.com" |
al@19103 | 9 LICENSE="GPL3" |
Hans-G?nter@21054 | 10 WEB_SITE="https://smxi.org/docs/inxi.htm" |
Hans-G?nter@21054 | 11 |
al@19103 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21055 | 13 WGET_URL="https://github.com/smxi/$PACKAGE/archive/${VERSION/32./32-}.tar.gz" |
al@19103 | 14 |
Hans-G?nter@21054 | 15 DEPENDS="bash coreutils-disk gawk pciutils procps sed" |
al@19103 | 16 |
al@19103 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19103 | 18 genpkg_rules() |
al@19103 | 19 { |
Hans-G?nter@21054 | 20 mkdir -p $fs/usr/bin |
Hans-G?nter@21054 | 21 mkdir -p $fs/usr/share/man/man1 |
Hans-G?nter@21054 | 22 |
Hans-G?nter@21054 | 23 install -m0755 $src/inxi $fs/usr/bin |
Hans-G?nter@21054 | 24 install -m0644 $src/inxi.1 $fs/usr/share/man/man1 |
al@19103 | 25 |
al@19103 | 26 # Configure inxi to work with SliTaz |
al@19103 | 27 |
al@19103 | 28 inxi="$fs/usr/bin/inxi" |
al@19103 | 29 sed -i 's|/var/run/dmesg.boot|/var/log/dmesg.log|' $inxi |
al@19103 | 30 # SliTaz packages |
al@19103 | 31 sed -i 's|df:coreutils|df:coreutils-disk|' $inxi |
al@19103 | 32 sed -i 's|readlink:coreutils|readlink:coreutils-file-special|' $inxi |
al@19103 | 33 sed -i 's|tr:coreutils|tr:coreutils-character|' $inxi |
al@19103 | 34 sed -i 's|uname:uname|uname:coreutils-context-system|' $inxi |
al@19103 | 35 sed -i 's|wc:coreutils|wc:coreutils-file-summarize|' $inxi |
al@19103 | 36 sed -i 's|glxinfo:mesa-utils|glxinfo:mesa-demos|' $inxi |
al@19103 | 37 sed -i 's|xdpyinfo:X11-utils|xdpyinfo:xorg-xdpyinfo|' $inxi |
al@19103 | 38 sed -i 's|xprop:X11-utils|xprop:xorg-xprop|' $inxi |
al@19103 | 39 sed -i 's|xrandr:x11-xserver-utils|xrandr:xorg-xrandr|' $inxi |
al@19103 | 40 sed -i 's|dig:dnsutils|dig:bind-client|' $inxi |
al@19103 | 41 sed -i 's|hddtemp:hddtemp|hddtemp:|' $inxi # no package |
al@19103 | 42 sed -i 's|ip:iproute|ip:iproute2|' $inxi |
al@19103 | 43 sed -i 's|strings:binutils|strings:busybox|' $inxi |
al@19103 | 44 sed -i 's|runlevel:sysvinit|runlevel:|' $inxi # no package |
al@19103 | 45 sed -i 's|print_lines_basic "0" "" "Debian/Ubuntu:.*$|print_lines_basic "0" "" "SliTaz:^$package_deb"|' $inxi |
al@19103 | 46 } |