wok diff inxi/receipt @ rev 20877

openssh: add ssh-copy-id (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 23 23:59:15 2019 +0100 (2019-02-23)
parents
children 87acb38c52b3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/inxi/receipt	Sat Feb 23 23:59:15 2019 +0100
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="inxi"
     1.7 +VERSION="2.3.0"
     1.8 +COMMIT="ebf6ff7"
     1.9 +CATEGORY="utilities"
    1.10 +SHORT_DESC="Full featured CLI system information tool"
    1.11 +MAINTAINER="al.bobylev@gmail.com"
    1.12 +LICENSE="GPL3"
    1.13 +WEB_SITE="http://smxi.org/docs/inxi.htm"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://github.com/smxi/inxi/archive/$COMMIT.tar.gz"
    1.16 +
    1.17 +DEPENDS="bash gawk sed coreutils-disk pciutils procps"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	mkdir -p $fs/usr/bin $fs/usr/share/man/man1
    1.23 +	install -m0755 $src/inxi $fs/usr/bin
    1.24 +	install -m0644 $src/inxi.1.gz $fs/usr/share/man/man1
    1.25 +
    1.26 +	# Configure inxi to work with SliTaz
    1.27 +
    1.28 +	inxi="$fs/usr/bin/inxi"
    1.29 +	sed -i 's|/var/run/dmesg.boot|/var/log/dmesg.log|' $inxi
    1.30 +	# SliTaz packages
    1.31 +	sed -i 's|df:coreutils|df:coreutils-disk|' $inxi
    1.32 +	sed -i 's|readlink:coreutils|readlink:coreutils-file-special|' $inxi
    1.33 +	sed -i 's|tr:coreutils|tr:coreutils-character|' $inxi
    1.34 +	sed -i 's|uname:uname|uname:coreutils-context-system|' $inxi
    1.35 +	sed -i 's|wc:coreutils|wc:coreutils-file-summarize|' $inxi
    1.36 +	sed -i 's|glxinfo:mesa-utils|glxinfo:mesa-demos|' $inxi
    1.37 +	sed -i 's|xdpyinfo:X11-utils|xdpyinfo:xorg-xdpyinfo|' $inxi
    1.38 +	sed -i 's|xprop:X11-utils|xprop:xorg-xprop|' $inxi
    1.39 +	sed -i 's|xrandr:x11-xserver-utils|xrandr:xorg-xrandr|' $inxi
    1.40 +	sed -i 's|dig:dnsutils|dig:bind-client|' $inxi
    1.41 +	sed -i 's|hddtemp:hddtemp|hddtemp:|' $inxi # no package
    1.42 +	sed -i 's|ip:iproute|ip:iproute2|' $inxi
    1.43 +	sed -i 's|strings:binutils|strings:busybox|' $inxi
    1.44 +	sed -i 's|runlevel:sysvinit|runlevel:|' $inxi # no package
    1.45 +	sed -i 's|print_lines_basic "0" "" "Debian/Ubuntu:.*$|print_lines_basic "0" "" "SliTaz:^$package_deb"|' $inxi
    1.46 +}