wok diff gritz/receipt @ rev 24011

mosh: create /usr/share/terminfo/x/xterm-256color link
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 05 17:16:12 2021 +0000 (2021-02-05)
parents
children 5ea0ce1cecc0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gritz/receipt	Fri Feb 05 17:16:12 2021 +0000
     1.3 @@ -0,0 +1,25 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gritz"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="A txt reader, which makes you reading twice as fast as usual."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/xypiie/gritz"
    1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="perl-gtk2"
    1.17 +BUILD_DEPENDS="wget perl"
    1.18 +
    1.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.20 +genpkg_rules()
    1.21 +{
    1.22 +	libperl=$(tazpkg list-files perl | \
    1.23 +	  sed '/^\/usr\/lib\/perl/!d;s|\(/usr/lib/perl[^/]*/[^/]*\).*|\1|;q')
    1.24 +	mkdir -p $fs/usr/bin $fs$libperl
    1.25 +	cp -a $src/lib/*.pm $fs$libperl
    1.26 +	cp -a $src/gritz.pl $fs/usr/bin/gritz
    1.27 +}
    1.28 +