wok-6.x view inxi/receipt @ rev 21054

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