wok-current diff tpp/receipt @ rev 17099
add gtk-clearlooks
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Aug 28 22:39:22 2014 +0200 (2014-08-28) |
parents | |
children | cc6bbcf323fa |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tpp/receipt Thu Aug 28 22:39:22 2014 +0200 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tpp" 1.7 +VERSION="1.3.1" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="Text presentation program." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +DEPENDS="ruby ruby-ncurses ncurses" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="http://www.ngolde.de/tpp.html" 1.14 +WGET_URL="http://www.ngolde.de/download/$TARBALL" 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + # use debian patches and fixes 1.21 + patch -i ../../stuff/ruby19.patch 1.22 + patch -i ../../stuff/optional-x.patch 1.23 + cd examples 1.24 + for tppfile in *.tpp; do 1.25 + iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile && \ 1.26 + touch -r $tppfile $tppfile.new && \ 1.27 + mv $tppfile.new $tppfile 1.28 + done 1.29 + cd .. 1.30 + # make DESTDIR=$DESTDIR install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr/bin $fs/usr/share/doc/tpp/examples 1.37 + install $src/tpp.rb $fs/usr/bin/tpp 1.38 + install -m644 $src/examples/* $fs/usr/share/doc/tpp/examples 1.39 +} 1.40 +