wok-current diff lesspipe/receipt @ rev 25590
Update cacerts, up elfutils url, fix pkg-config, py3k rebuild, and xorg build with gcc 6
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 24 14:03:59 2023 +0000 (16 months ago) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lesspipe/receipt Thu Aug 24 14:03:59 2023 +0000 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="lesspipe" 1.7 +VERSION="2.07" 1.8 +CATEGORY="utilities" 1.9 +TAGS="less" 1.10 +SHORT_DESC="Input filter for less to better display files." 1.11 +MAINTAINER="maintainer@slitaz.org" 1.12 +LICENSE="GPL" 1.13 +WEB_SITE="https://github.com/wofr06/lesspipe" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz" 1.17 + 1.18 +SUGGESTED="bash" 1.19 +DEPENDS="less" # busybox less ignores LESSOPEN variable 1.20 + 1.21 +HOST_ARCH="any" 1.22 + 1.23 +# Rules to configure and make the package. 1.24 +compile_rules() 1.25 +{ 1.26 + # busybox rpm has no option v 1.27 + patch --strip=0 --input=$stuff/patches/lesspipe.sh 1.28 + 1.29 + mkdir -p $install/usr/bin 1.30 + cp lesspipe.sh $install/usr/bin/lesspipe 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + cook_copy_folders bin 1.37 +} 1.38 + 1.39 +post_install() 1.40 +{ 1.41 + echo " 1.42 +To activate lesspipe enter: 1.43 +export LESSOPEN='|lesspipe %s'" 1.44 +}