wok-6.x view freepats/receipt @ rev 16656

poppler, poppler-dev: nothing changed
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 14 01:49:30 2014 +0300 (2014-05-14)
parents d12b2198574c
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="freepats"
4 VERSION="20060219"
5 CATEGORY="multimedia"
6 SHORT_DESC="Free and open set of instrument patches."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://freepats.zenvoid.org/"
11 WGET_URL="http://freepats.zenvoid.org/$TARBALL"
13 DEPENDS="TiMidity++"
14 BUILD_DEPENDS=""
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/share/timidity
20 cp -a $src $fs/usr/share/timidity/freepats
21 chown -R root.root $fs/usr/share/timidity/freepats
22 }
24 post_install()
25 {
26 # Update timidity.cfg
27 cat >> $1/usr/share/timidity/timidity.cfg <<EOF
28 # freepats
29 dir /usr/share/timidity/freepats
30 source /usr/share/timidity/freepats/freepats.cfg
31 EOF
32 }
34 post_remove()
35 {
36 sed -i '/freepats/d' $1/usr/share/timidity/timidity.cfg
37 }