wok-next view tpp/receipt @ rev 20506
zerobin: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 16 12:28:31 2018 +0100 (2018-03-16) |
parents | cc6bbcf323fa |
children | d6378d455338 |
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://www.ngolde.de/tpp.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.ngolde.de/download/$TARBALL"
14 compile_rules() {
15 # use debian patches and fixes
16 patch -i $stuff/ruby19.patch
17 patch -i $stuff/optional-x.patch
19 cd examples
20 for tppfile in *.tpp; do
21 iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile &&
22 touch -r $tppfile $tppfile.new &&
23 mv $tppfile.new $tppfile
24 done
26 cd $src
27 mkdir -p \
28 $install/usr/bin/ \
29 $install/usr/share/doc/tpp/examples/
30 install $src/tpp.rb $install/usr/bin/tpp/
31 install -m644 $src/examples/* $install/usr/share/doc/tpp/examples/
32 }
34 genpkg_rules() {
35 copy @std
36 DEPENDS="ruby ruby-ncurses ncurses"
37 }