wok-next annotate freepats/receipt @ rev 17855
tazpanel: try to up to 1.8.4
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 25 00:40:10 2015 +0200 (2015-03-25) |
parents | d12b2198574c |
children | 9e01bc6321ea |
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" |
pascal@15002 | 8 LICENSE="GPL2" |
mojo@13218 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
mojo@13218 | 10 WEB_SITE="http://freepats.zenvoid.org/" |
mojo@13218 | 11 WGET_URL="http://freepats.zenvoid.org/$TARBALL" |
mojo@13218 | 12 |
mojo@13218 | 13 DEPENDS="TiMidity++" |
mojo@13218 | 14 BUILD_DEPENDS="" |
mojo@13218 | 15 |
mojo@13218 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
mojo@13218 | 17 genpkg_rules() |
mojo@13218 | 18 { |
mojo@13218 | 19 mkdir -p $fs/usr/share/timidity |
mojo@13218 | 20 cp -a $src $fs/usr/share/timidity/freepats |
mojo@13218 | 21 chown -R root.root $fs/usr/share/timidity/freepats |
mojo@13218 | 22 } |
mojo@13218 | 23 |
mojo@13218 | 24 post_install() |
mojo@13218 | 25 { |
mojo@13218 | 26 # Update timidity.cfg |
mojo@13218 | 27 cat >> $1/usr/share/timidity/timidity.cfg <<EOF |
mojo@13218 | 28 # freepats |
mojo@13218 | 29 dir /usr/share/timidity/freepats |
mojo@13218 | 30 source /usr/share/timidity/freepats/freepats.cfg |
mojo@13218 | 31 EOF |
mojo@13218 | 32 } |
mojo@13218 | 33 |
mojo@13218 | 34 post_remove() |
mojo@13218 | 35 { |
mojo@13218 | 36 sed -i '/freepats/d' $1/usr/share/timidity/timidity.cfg |
mojo@13218 | 37 } |