wok-next view inxi/receipt @ rev 21519
updated bison (3.2.4 -> 3.6.4)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 19 11:14:58 2020 +0100 (2020-06-19) |
parents | 0cbe4b1f2230 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="inxi"
4 VERSION="2.3.0"
5 COMMIT="ebf6ff7"
6 CATEGORY="utilities"
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"
11 HOST_ARCH="any"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="https://github.com/smxi/inxi/archive/$COMMIT.tar.gz"
16 genpkg_rules() {
17 mkdir -p $fs/usr/bin $fs/usr/share/man/man1
18 install -m0755 $src/inxi $fs/usr/bin
19 install -m0644 $src/inxi.1.gz $fs/usr/share/man/man1
21 # Configure inxi to work with SliTaz
23 inxi="$fs/usr/bin/inxi"
24 sed -i 's|/var/run/dmesg.boot|/var/log/dmesg.log|' $inxi
25 # SliTaz packages
26 sed -i 's|df:coreutils|df:coreutils-disk|' $inxi
27 sed -i 's|readlink:coreutils|readlink:coreutils-file-special|' $inxi
28 sed -i 's|tr:coreutils|tr:coreutils-character|' $inxi
29 sed -i 's|uname:uname|uname:coreutils-context-system|' $inxi
30 sed -i 's|wc:coreutils|wc:coreutils-file-summarize|' $inxi
31 sed -i 's|glxinfo:mesa-utils|glxinfo:mesa-demos|' $inxi
32 sed -i 's|xdpyinfo:X11-utils|xdpyinfo:xdpyinfo|' $inxi
33 sed -i 's|xprop:X11-utils|xprop:xprop|' $inxi
34 sed -i 's|xrandr:x11-xserver-utils|xrandr:xrandr|' $inxi
35 sed -i 's|dig:dnsutils|dig:bind-client|' $inxi
36 sed -i 's|hddtemp:hddtemp|hddtemp:|' $inxi # no package
37 sed -i 's|ip:iproute|ip:iproute2|' $inxi
38 sed -i 's|strings:binutils|strings:busybox|' $inxi
39 sed -i 's|runlevel:sysvinit|runlevel:|' $inxi # no package
40 sed -i 's|print_lines_basic "0" "" "Debian/Ubuntu:.*$|print_lines_basic "0" "" "SliTaz:^$package_deb"|' $inxi
41 DEPENDS="bash gawk sed coreutils-disk pciutils procps"
42 }