wok view tpp/receipt @ rev 21148
pulseaudio: add some config_files
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Thu Mar 28 17:43:17 2019 -0400 (2019-03-28) |
parents | 08fef135770f |
children | 934055de50e2 |
line source
1 # SliTaz package receipt.
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 DEPENDS="ruby ruby-ncurses ncurses"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.ngolde.de/tpp.html"
12 WGET_URL="http://www.ngolde.de/download/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # use debian patches and fixes
19 patch -i ../../stuff/ruby19.patch
20 patch -i ../../stuff/optional-x.patch
21 cd examples
22 for tppfile in *.tpp; do
23 iconv -f ISO-8859-1 -t UTF-8 -o $tppfile.new $tppfile && \
24 touch -r $tppfile $tppfile.new && \
25 mv $tppfile.new $tppfile
26 done
27 cd ..
28 # make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin $fs/usr/share/doc/tpp/examples
35 install $src/tpp.rb $fs/usr/bin/tpp
36 install -m644 $src/examples/* $fs/usr/share/doc/tpp/examples
37 }