wok-next view tpp/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents d6378d455338
children efc1e4b02968
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 }