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