wok-next view tpp/receipt @ rev 17434

Up: wv (1.2.9)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Dec 07 11:41:39 2014 +0100 (2014-12-07)
parents 08fef135770f
children da9e80c5d4bb
line source
1 # SliTaz package receipt.
3 PACKAGE="tpp"
4 VERSION="1.3.1"
5 CATEGORY="utilities"
6 SHORT_DESC="Text presentation program."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 DEPENDS="ruby ruby-ncurses ncurses"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.ngolde.de/tpp.html"
12 WGET_URL="http://www.ngolde.de/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # use debian patches and fixes
19 patch -i ../../stuff/ruby19.patch
20 patch -i ../../stuff/optional-x.patch
21 cd examples
22 for tppfile in *.tpp; do
23 iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile && \
24 touch -r $tppfile $tppfile.new && \
25 mv $tppfile.new $tppfile
26 done
27 cd ..
28 # make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/share/doc/tpp/examples
35 install $src/tpp.rb $fs/usr/bin/tpp
36 install -m644 $src/examples/* $fs/usr/share/doc/tpp/examples
37 }