wok-6.x annotate freepats/receipt @ rev 20102
Add plsh & pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 13:07:28 2017 +0200 (2017-10-09) |
parents | 7896f0694ef6 |
children | b9659e3c2111 |
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 |
pascal@18730 | 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 { |
pascal@18730 | 36 sed -i '/freepats/d' "$1/usr/share/timidity/timidity.cfg" |
mojo@13218 | 37 } |