wok-6.x view lesspipe/receipt @ rev 25556
created recipes for nted and nted-lang
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 22 14:54:15 2023 +0100 (19 months ago) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lesspipe"
4 VERSION="2.07"
5 CATEGORY="utilities"
6 TAGS="less"
7 SHORT_DESC="Input filter for less to better display files."
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL"
10 WEB_SITE="https://github.com/wofr06/lesspipe"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
15 SUGGESTED="bash"
16 DEPENDS="less" # busybox less ignores LESSOPEN variable
18 HOST_ARCH="any"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 # busybox rpm has no option v
24 patch --strip=0 --input=$stuff/patches/lesspipe.sh
26 mkdir -p $install/usr/bin
27 cp lesspipe.sh $install/usr/bin/lesspipe
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cook_copy_folders bin
34 }
36 post_install()
37 {
38 echo "
39 To activate lesspipe enter:
40 export LESSOPEN='|lesspipe %s'"
41 }