wok annotate tpp/receipt @ rev 22991

updated l3afpad (0.8.18.1.10 -> 0.8.18.1.11)
author Hans-G?nter Theisgen
date Sun Mar 01 17:39:44 2020 +0100 (2020-03-01)
parents 08fef135770f
children 934055de50e2
rev   line source
paul@16778 1 # SliTaz package receipt.
paul@16778 2
paul@16778 3 PACKAGE="tpp"
paul@16778 4 VERSION="1.3.1"
paul@16778 5 CATEGORY="utilities"
paul@16778 6 SHORT_DESC="Text presentation program."
paul@16778 7 MAINTAINER="paul@slitaz.org"
pascal@17216 8 LICENSE="GPL2"
paul@16778 9 DEPENDS="ruby ruby-ncurses ncurses"
paul@16778 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@16778 11 WEB_SITE="http://www.ngolde.de/tpp.html"
paul@16778 12 WGET_URL="http://www.ngolde.de/download/$TARBALL"
paul@16778 13
paul@16778 14 # Rules to configure and make the package.
paul@16778 15 compile_rules()
paul@16778 16 {
paul@16778 17 cd $src
paul@16778 18 # use debian patches and fixes
paul@16778 19 patch -i ../../stuff/ruby19.patch
paul@16778 20 patch -i ../../stuff/optional-x.patch
paul@16778 21 cd examples
paul@16778 22 for tppfile in *.tpp; do
paul@16778 23 iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile && \
paul@16778 24 touch -r $tppfile $tppfile.new && \
paul@16778 25 mv $tppfile.new $tppfile
paul@16778 26 done
paul@16778 27 cd ..
paul@16778 28 # make DESTDIR=$DESTDIR install
paul@16778 29 }
paul@16778 30
paul@16778 31 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16778 32 genpkg_rules()
paul@16778 33 {
paul@16778 34 mkdir -p $fs/usr/bin $fs/usr/share/doc/tpp/examples
paul@16778 35 install $src/tpp.rb $fs/usr/bin/tpp
paul@16778 36 install -m644 $src/examples/* $fs/usr/share/doc/tpp/examples
paul@16778 37 }
paul@16778 38