wok-current annotate TiMidity++/receipt @ rev 13217

Add TiMidity++ (libao 1.1.0)
author Richard Dunbar <mojo@slitaz.org>
date Sat Aug 11 16:11:48 2012 +0000 (2012-08-11)
parents
children 380ffe05937a
rev   line source
mojo@13217 1 # SliTaz package receipt.
mojo@13217 2
mojo@13217 3 PACKAGE="TiMidity++"
mojo@13217 4 VERSION="2.14.0"
mojo@13217 5 CATEGORY="multimedia"
mojo@13217 6 SHORT_DESC="TiMidity++ is an open source MIDI to WAVE converter and player."
mojo@13217 7 MAINTAINER="paul@slitaz.org"
mojo@13217 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mojo@13217 9 WEB_SITE="http://timidity.sourceforge.net/"
mojo@13217 10 WGET_URL="http://sourceforge.net/projects/timidity/files/latest/download"
mojo@13217 11
mojo@13217 12 DEPENDS="alsa-lib portaudio jack-audio-connection-kit libao libvorbis libogg flac gtk+ xorg-libXaw"
mojo@13217 13 BUILD_DEPENDS="alsa-lib-dev portaudio-dev jack-audio-connection-kit-dev libao-dev libvorbis-dev libogg-dev
mojo@13217 14 flac-dev gtk+-dev xorg-libXaw-dev"
mojo@13217 15
mojo@13217 16 # Rules to configure and make the package.
mojo@13217 17 compile_rules()
mojo@13217 18 {
mojo@13217 19 cd $src
mojo@13217 20 ./configure --prefix=/usr \
mojo@13217 21 --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \
mojo@13217 22 --enable-interface=gtk,xaw \
mojo@13217 23 --enable-alsaseq
mojo@13217 24 make &&
mojo@13217 25 make DESTDIR=$DESTDIR install
mojo@13217 26 }
mojo@13217 27
mojo@13217 28 # Rules to gen a SliTaz package suitable for Tazpkg.
mojo@13217 29 genpkg_rules()
mojo@13217 30 {
mojo@13217 31 mkdir -p $fs/usr
mojo@13217 32 cp -a $install/usr/bin $fs/usr
mojo@13217 33 }
mojo@13217 34
mojo@13217 35 post_install()
mojo@13217 36 {
mojo@13217 37 # create config file
mojo@13217 38 mkdir $1/usr/share/timidity
mojo@13217 39 touch $1/usr/share/timidity/timidity.cfg
mojo@13217 40 }
mojo@13217 41
mojo@13217 42 post_remove()
mojo@13217 43 {
mojo@13217 44 rm -rf $1/usr/share/timidity
mojo@13217 45 }
mojo@13217 46