wok diff gritz/receipt @ rev 19109
Up paper-icon-theme
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 06 14:29:12 2016 +0300 (2016-05-06) |
parents | |
children | 5ea0ce1cecc0 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gritz/receipt Fri May 06 14:29:12 2016 +0300 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 +