wok-next view tpp/receipt @ rev 20715

Up nsd (4.1.21)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 27 13:10:46 2018 +0300 (2018-05-27)
parents da9e80c5d4bb
children 8451a0d78012
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 cd examples
16 for tppfile in *.tpp; do
17 iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile &&
18 touch -r $tppfile $tppfile.new &&
19 mv $tppfile.new $tppfile
20 done
22 cd $src
23 mkdir -p \
24 $install/usr/bin/ \
25 $install/usr/share/doc/tpp/examples/
26 install $src/tpp.rb $install/usr/bin/tpp/
27 install -m644 $src/examples/* $install/usr/share/doc/tpp/examples/
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="ruby ruby-ncurses ncurses"
33 }