wok annotate freepats/receipt @ rev 13906
Add lyx-locales, lyx-doc, lyx-examples
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 23 13:18:40 2013 +0000 (2013-01-23) |
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 } |