wok-next annotate tpp/receipt @ rev 21107
Restore Perl modules removed accidentally in commit 19709
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jan 07 11:16:02 2019 +0200 (2019-01-07) |
parents | 8451a0d78012 |
children |
rev | line source |
---|---|
al@20503 | 1 # SliTaz package receipt v2. |
paul@16778 | 2 |
paul@16778 | 3 PACKAGE="tpp" |
paul@16778 | 4 VERSION="1.3.1" |
paul@16778 | 5 CATEGORY="utilities" |
al@20503 | 6 SHORT_DESC="Text presentation program" |
paul@16778 | 7 MAINTAINER="paul@slitaz.org" |
pascal@17216 | 8 LICENSE="GPL2" |
al@20503 | 9 WEB_SITE="http://www.ngolde.de/tpp.html" |
al@20503 | 10 |
paul@16778 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@16778 | 12 WGET_URL="http://www.ngolde.de/download/$TARBALL" |
paul@16778 | 13 |
al@20503 | 14 compile_rules() { |
al@20503 | 15 cd examples |
al@20503 | 16 for tppfile in *.tpp; do |
al@20503 | 17 iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile && |
al@20503 | 18 touch -r $tppfile $tppfile.new && |
al@20503 | 19 mv $tppfile.new $tppfile |
al@20503 | 20 done |
al@20503 | 21 |
paul@16778 | 22 cd $src |
al@20503 | 23 mkdir -p \ |
al@20503 | 24 $install/usr/bin/ \ |
al@20503 | 25 $install/usr/share/doc/tpp/examples/ |
al@20742 | 26 install $src/tpp.rb $install/usr/bin/tpp |
al@20503 | 27 install -m644 $src/examples/* $install/usr/share/doc/tpp/examples/ |
paul@16778 | 28 } |
paul@16778 | 29 |
al@20503 | 30 genpkg_rules() { |
al@20503 | 31 copy @std |
al@20910 | 32 DEPENDS="ruby ruby-ncursesw ncurses" |
paul@16778 | 33 } |