wok-next annotate inxi/receipt @ rev 21727

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