wok annotate tpp/receipt @ rev 17096

dooble: fix ownership (subjected to dooble.sh; dooble.desktop; Translations, etc.)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Aug 28 12:33:30 2014 +0300 (2014-08-28)
parents
children cc6bbcf323fa
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"
paul@16778 8 DEPENDS="ruby ruby-ncurses ncurses"
paul@16778 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@16778 10 WEB_SITE="http://www.ngolde.de/tpp.html"
paul@16778 11 WGET_URL="http://www.ngolde.de/download/$TARBALL"
paul@16778 12
paul@16778 13 # Rules to configure and make the package.
paul@16778 14 compile_rules()
paul@16778 15 {
paul@16778 16 cd $src
paul@16778 17 # use debian patches and fixes
paul@16778 18 patch -i ../../stuff/ruby19.patch
paul@16778 19 patch -i ../../stuff/optional-x.patch
paul@16778 20 cd examples
paul@16778 21 for tppfile in *.tpp; do
paul@16778 22 iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile && \
paul@16778 23 touch -r $tppfile $tppfile.new && \
paul@16778 24 mv $tppfile.new $tppfile
paul@16778 25 done
paul@16778 26 cd ..
paul@16778 27 # make DESTDIR=$DESTDIR install
paul@16778 28 }
paul@16778 29
paul@16778 30 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@16778 31 genpkg_rules()
paul@16778 32 {
paul@16778 33 mkdir -p $fs/usr/bin $fs/usr/share/doc/tpp/examples
paul@16778 34 install $src/tpp.rb $fs/usr/bin/tpp
paul@16778 35 install -m644 $src/examples/* $fs/usr/share/doc/tpp/examples
paul@16778 36 }
paul@16778 37