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

updated sslscan (1.11.11 -> 1.11.13)
author Hans-G?nter Theisgen
date Sun Apr 26 07:25:44 2020 +0100 (2020-04-26)
parents 4b5d7d9c4529
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="inxi"
4 VERSION="3.0.37"
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-1.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|' \
30 $inxi
31 # SliTaz packages
32 sed -i 's|df:coreutils|df:coreutils-disk|' \
33 $inxi
34 sed -i 's|readlink:coreutils|readlink:coreutils-file-special|' \
35 $inxi
36 sed -i 's|tr:coreutils|tr:coreutils-character|' \
37 $inxi
38 sed -i 's|uname:uname|uname:coreutils-context-system|' \
39 $inxi
40 sed -i 's|wc:coreutils|wc:coreutils-file-summarize|' \
41 $inxi
42 sed -i 's|glxinfo:mesa-utils|glxinfo:mesa-demos|' \
43 $inxi
44 sed -i 's|xdpyinfo:X11-utils|xdpyinfo:xorg-xdpyinfo|' \
45 $inxi
46 sed -i 's|xprop:X11-utils|xprop:xorg-xprop|' \
47 $inxi
48 sed -i 's|xrandr:x11-xserver-utils|xrandr:xorg-xrandr|' \
49 $inxi
50 sed -i 's|dig:dnsutils|dig:bind-client|' \
51 $inxi
52 sed -i 's|hddtemp:hddtemp|hddtemp:|' \
53 $inxi # no package
54 sed -i 's|ip:iproute|ip:iproute2|' \
55 $inxi
56 sed -i 's|strings:binutils|strings:busybox|' \
57 $inxi
58 sed -i 's|runlevel:sysvinit|runlevel:|' \
59 $inxi # no package
60 sed -i 's|print_lines_basic "0" "" "Debian/Ubuntu:.*$|print_lines_basic "0" "" "SliTaz:^$package_deb"|' \
61 $inxi
62 }