wok annotate inxi/receipt @ rev 23401
updated perl-test-pod-coverage (1.08 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 17:42:48 2020 +0100 (2020-03-31) |
parents | 4b5d7d9c4529 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
al@19103 | 1 # SliTaz package receipt. |
al@19103 | 2 |
al@19103 | 3 PACKAGE="inxi" |
Hans-G?nter@22953 | 4 VERSION="3.0.37" |
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@22953 | 13 WGET_URL="https://github.com/smxi/$PACKAGE/archive/$VERSION-1.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" |
Hans-G?nter@22953 | 29 sed -i 's|/var/run/dmesg.boot|/var/log/dmesg.log|' \ |
Hans-G?nter@22953 | 30 $inxi |
al@19103 | 31 # SliTaz packages |
Hans-G?nter@22953 | 32 sed -i 's|df:coreutils|df:coreutils-disk|' \ |
Hans-G?nter@22953 | 33 $inxi |
Hans-G?nter@22953 | 34 sed -i 's|readlink:coreutils|readlink:coreutils-file-special|' \ |
Hans-G?nter@22953 | 35 $inxi |
Hans-G?nter@22953 | 36 sed -i 's|tr:coreutils|tr:coreutils-character|' \ |
Hans-G?nter@22953 | 37 $inxi |
Hans-G?nter@22953 | 38 sed -i 's|uname:uname|uname:coreutils-context-system|' \ |
Hans-G?nter@22953 | 39 $inxi |
Hans-G?nter@22953 | 40 sed -i 's|wc:coreutils|wc:coreutils-file-summarize|' \ |
Hans-G?nter@22953 | 41 $inxi |
Hans-G?nter@22953 | 42 sed -i 's|glxinfo:mesa-utils|glxinfo:mesa-demos|' \ |
Hans-G?nter@22953 | 43 $inxi |
Hans-G?nter@22953 | 44 sed -i 's|xdpyinfo:X11-utils|xdpyinfo:xorg-xdpyinfo|' \ |
Hans-G?nter@22953 | 45 $inxi |
Hans-G?nter@22953 | 46 sed -i 's|xprop:X11-utils|xprop:xorg-xprop|' \ |
Hans-G?nter@22953 | 47 $inxi |
Hans-G?nter@22953 | 48 sed -i 's|xrandr:x11-xserver-utils|xrandr:xorg-xrandr|' \ |
Hans-G?nter@22953 | 49 $inxi |
Hans-G?nter@22953 | 50 sed -i 's|dig:dnsutils|dig:bind-client|' \ |
Hans-G?nter@22953 | 51 $inxi |
Hans-G?nter@22953 | 52 sed -i 's|hddtemp:hddtemp|hddtemp:|' \ |
Hans-G?nter@22953 | 53 $inxi # no package |
Hans-G?nter@22953 | 54 sed -i 's|ip:iproute|ip:iproute2|' \ |
Hans-G?nter@22953 | 55 $inxi |
Hans-G?nter@22953 | 56 sed -i 's|strings:binutils|strings:busybox|' \ |
Hans-G?nter@22953 | 57 $inxi |
Hans-G?nter@22953 | 58 sed -i 's|runlevel:sysvinit|runlevel:|' \ |
Hans-G?nter@22953 | 59 $inxi # no package |
Hans-G?nter@22953 | 60 sed -i 's|print_lines_basic "0" "" "Debian/Ubuntu:.*$|print_lines_basic "0" "" "SliTaz:^$package_deb"|' \ |
Hans-G?nter@22953 | 61 $inxi |
al@19103 | 62 } |