wok diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/freepats/receipt Wed Jan 23 13:18:40 2013 +0000 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="freepats" 1.7 +VERSION="20060219" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="Free and open set of instrument patches." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://freepats.zenvoid.org/" 1.13 +WGET_URL="http://freepats.zenvoid.org/$TARBALL" 1.14 + 1.15 +DEPENDS="TiMidity++" 1.16 +BUILD_DEPENDS="" 1.17 + 1.18 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.19 +genpkg_rules() 1.20 +{ 1.21 + mkdir -p $fs/usr/share/timidity 1.22 + cp -a $src $fs/usr/share/timidity/freepats 1.23 + chown -R root.root $fs/usr/share/timidity/freepats 1.24 +} 1.25 + 1.26 +post_install() 1.27 +{ 1.28 + # Update timidity.cfg 1.29 + cat >> $1/usr/share/timidity/timidity.cfg <<EOF 1.30 +# freepats 1.31 +dir /usr/share/timidity/freepats 1.32 +source /usr/share/timidity/freepats/freepats.cfg 1.33 +EOF 1.34 +} 1.35 + 1.36 +post_remove() 1.37 +{ 1.38 + sed -i '/freepats/d' $1/usr/share/timidity/timidity.cfg 1.39 +}