wok view tpp/receipt @ rev 17945

squashfs: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Apr 15 17:06:17 2015 +0200 (2015-04-15)
parents 08fef135770f
children 934055de50e2
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 }