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

Up: docbook-xsl (1.79.1): conversion xml->man now works; udisks2 (2.1.8): now it auto-unmount and free /media/* folders before reboot/shutdown.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 01 04:42:13 2016 +0200 (2016-12-01)
parents 7896f0694ef6
children b9659e3c2111
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 }