wok-next view freepats/receipt @ rev 21637

faad2: added build dependency libtool
author Hans-G?nter Theisgen
date Fri Jun 26 11:18:23 2020 +0100 (2020-06-26)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="http://freepats.zenvoid.org/"
10 HOST_ARCH="any"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://freepats.zenvoid.org/$TARBALL"
15 genpkg_rules() {
16 mkdir -p $fs/usr/share/timidity
17 cp -a $src $fs/usr/share/timidity/freepats
18 chown -R root.root $fs/usr/share/timidity/freepats
19 DEPENDS="timidity++"
20 }
22 post_install() {
23 # Update timidity.cfg
24 cat >> "$1/usr/share/timidity/timidity.cfg" <<EOF
25 # freepats
26 dir /usr/share/timidity/freepats
27 source /usr/share/timidity/freepats/freepats.cfg
28 EOF
29 }
31 post_remove() {
32 sed -i '/freepats/d' "$1/usr/share/timidity/timidity.cfg"
33 }