wok-6.x rev 16018

Add gritz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 05 17:48:08 2014 +0000 (2014-03-05)
parents d0e9cc44b37e
children 1dd9cce52c21
files gritz/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gritz/receipt	Wed Mar 05 17:48:08 2014 +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 +