wok-next view freepats/receipt @ rev 16420
Add jansson and mygestures for mouse-gesture on touchscreen
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 18 01:43:00 2014 +0200 (2014-04-18) |
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 }