wok-undigest rev 779
Add TiMidity++ (libao 1.1.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Aug 02 18:31:48 2012 +0100 (2012-08-02) |
parents | 628fd3c20824 |
children | e6eabb54361d |
files | TiMidity++/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/TiMidity++/receipt Thu Aug 02 18:31:48 2012 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="TiMidity++" 1.7 +VERSION="2.14.0" 1.8 +CATEGORY="multimedia" 1.9 +SHORT_DESC="TiMidity++ is an open source MIDI to WAVE converter and player." 1.10 +MAINTAINER="paul@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="http://timidity.sourceforge.net/" 1.13 +WGET_URL="http://sourceforge.net/projects/timidity/files/latest/download" 1.14 + 1.15 +DEPENDS="alsa-lib portaudio jack-audio-connection-kit libao libvorbis libogg flac gtk+ xorg-libXaw" 1.16 +BUILD_DEPENDS="alsa-lib-dev portaudio-dev jack-audio-connection-kit-dev libao-dev libvorbis-dev libogg-dev 1.17 +flac-dev gtk+-dev xorg-libXaw-dev" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr \ 1.24 + --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \ 1.25 + --enable-interface=gtk,xaw \ 1.26 + --enable-alsaseq 1.27 + make && 1.28 + make DESTDIR=$DESTDIR install 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr 1.35 + cp -a $install/usr/bin $fs/usr 1.36 +} 1.37 + 1.38 +post_install() 1.39 +{ 1.40 + # create config file 1.41 + mkdir $1/usr/share/timidity 1.42 + touch $1/usr/share/timidity/timidity.cfg 1.43 +} 1.44 + 1.45 +post_remove() 1.46 +{ 1.47 + rm -rf $1/usr/share/timidity 1.48 +} 1.49 +