wok view freepats/receipt @ rev 17955

marble: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 16 12:29:40 2015 +0200 (2015-04-16)
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 }