wok-current view inxi/receipt @ rev 25244
updated python-tweepy (3.8.0 -> 3.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 06:55:43 2022 +0100 (2022-07-14) |
parents | 048ed88bf832 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="inxi"
4 VERSION="3.3.13"
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 perl procps sed"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
28 install -m0755 $src/inxi $fs/usr/bin
30 # Configure inxi to work with SliTaz
32 inxi="$fs/usr/bin/inxi"
33 sed -i 's|/var/run/dmesg.boot|/var/log/dmesg.log|' \
34 $inxi
35 # SliTaz packages
36 sed -i -e 's|df:coreutils|df:coreutils-disk|' \
37 -e 's|readlink:coreutils|readlink:coreutils-file-special|' \
38 -e 's|tr:coreutils|tr:coreutils-character|' \
39 -e 's|uname:uname|uname:coreutils-context-system|' \
40 -e 's|wc:coreutils|wc:coreutils-file-summarize|' \
41 -e 's|glxinfo:mesa-utils|glxinfo:mesa-demos|' \
42 -e 's|xdpyinfo:X11-utils|xdpyinfo:xorg-xdpyinfo|' \
43 -e 's|xprop:X11-utils|xprop:xorg-xprop|' \
44 -e 's|xrandr:x11-xserver-utils|xrandr:xorg-xrandr|' \
45 -e 's|dig:dnsutils|dig:bind-client|' \
46 $inxi
47 sed -i 's|hddtemp:hddtemp|hddtemp:|' \
48 $inxi # no package
49 sed -i -e 's|ip:iproute|ip:iproute2|' \
50 -e 's|strings:binutils|strings:busybox|' \
51 -e 's|runlevel:sysvinit|runlevel:|' \
52 $inxi # no package
53 sed -i 's|print_lines_basic "0" "" "Debian/Ubuntu:.*$|print_lines_basic "0" "" "SliTaz:^$package_deb"|' \
54 $inxi
55 }