wok-next annotate freepats/receipt @ rev 14543
firefox-langpack-it: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 22 21:57:00 2013 +0200 (2013-05-22) |
parents | |
children | 7896f0694ef6 |
rev | line source |
---|---|
mojo@13218 | 1 # SliTaz package receipt. |
mojo@13218 | 2 |
mojo@13218 | 3 PACKAGE="freepats" |
mojo@13218 | 4 VERSION="20060219" |
mojo@13218 | 5 CATEGORY="multimedia" |
mojo@13218 | 6 SHORT_DESC="Free and open set of instrument patches." |
mojo@13218 | 7 MAINTAINER="paul@slitaz.org" |
mojo@13218 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mojo@13218 | 9 WEB_SITE="http://freepats.zenvoid.org/" |
mojo@13218 | 10 WGET_URL="http://freepats.zenvoid.org/$TARBALL" |
mojo@13218 | 11 |
mojo@13218 | 12 DEPENDS="TiMidity++" |
mojo@13218 | 13 BUILD_DEPENDS="" |
mojo@13218 | 14 |
mojo@13218 | 15 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@13218 | 16 genpkg_rules() |
mojo@13218 | 17 { |
mojo@13218 | 18 mkdir -p $fs/usr/share/timidity |
mojo@13218 | 19 cp -a $src $fs/usr/share/timidity/freepats |
mojo@13218 | 20 chown -R root.root $fs/usr/share/timidity/freepats |
mojo@13218 | 21 } |
mojo@13218 | 22 |
mojo@13218 | 23 post_install() |
mojo@13218 | 24 { |
mojo@13218 | 25 # Update timidity.cfg |
mojo@13218 | 26 cat >> $1/usr/share/timidity/timidity.cfg <<EOF |
mojo@13218 | 27 # freepats |
mojo@13218 | 28 dir /usr/share/timidity/freepats |
mojo@13218 | 29 source /usr/share/timidity/freepats/freepats.cfg |
mojo@13218 | 30 EOF |
mojo@13218 | 31 } |
mojo@13218 | 32 |
mojo@13218 | 33 post_remove() |
mojo@13218 | 34 { |
mojo@13218 | 35 sed -i '/freepats/d' $1/usr/share/timidity/timidity.cfg |
mojo@13218 | 36 } |