wok-6.x view inxi/receipt @ rev 19449
Up bind (9.11.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 17 10:20:42 2016 +0200 (2016-10-17) |
parents | |
children | 87acb38c52b3 |
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="http://smxi.org/docs/inxi.htm"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/smxi/inxi/archive/$COMMIT.tar.gz"
14 DEPENDS="bash gawk sed coreutils-disk pciutils procps"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/bin $fs/usr/share/man/man1
20 install -m0755 $src/inxi $fs/usr/bin
21 install -m0644 $src/inxi.1.gz $fs/usr/share/man/man1
23 # Configure inxi to work with SliTaz
25 inxi="$fs/usr/bin/inxi"
26 sed -i 's|/var/run/dmesg.boot|/var/log/dmesg.log|' $inxi
27 # SliTaz packages
28 sed -i 's|df:coreutils|df:coreutils-disk|' $inxi
29 sed -i 's|readlink:coreutils|readlink:coreutils-file-special|' $inxi
30 sed -i 's|tr:coreutils|tr:coreutils-character|' $inxi
31 sed -i 's|uname:uname|uname:coreutils-context-system|' $inxi
32 sed -i 's|wc:coreutils|wc:coreutils-file-summarize|' $inxi
33 sed -i 's|glxinfo:mesa-utils|glxinfo:mesa-demos|' $inxi
34 sed -i 's|xdpyinfo:X11-utils|xdpyinfo:xorg-xdpyinfo|' $inxi
35 sed -i 's|xprop:X11-utils|xprop:xorg-xprop|' $inxi
36 sed -i 's|xrandr:x11-xserver-utils|xrandr:xorg-xrandr|' $inxi
37 sed -i 's|dig:dnsutils|dig:bind-client|' $inxi
38 sed -i 's|hddtemp:hddtemp|hddtemp:|' $inxi # no package
39 sed -i 's|ip:iproute|ip:iproute2|' $inxi
40 sed -i 's|strings:binutils|strings:busybox|' $inxi
41 sed -i 's|runlevel:sysvinit|runlevel:|' $inxi # no package
42 sed -i 's|print_lines_basic "0" "" "Debian/Ubuntu:.*$|print_lines_basic "0" "" "SliTaz:^$package_deb"|' $inxi
43 }