wok view freepats/receipt @ rev 24362

aspell: apply patch CVE-2019-25051
author Hans-G?nter Theisgen
date Fri Feb 04 15:05:05 2022 +0100 (2022-02-04)
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 }