wok-current view TiMidity++/receipt @ rev 20144
Timidity++ (update deps)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Nov 11 12:07:21 2017 +0000 (2017-11-11) |
parents | 0863dbc8e921 |
children | d40bfc9d243c |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://timidity.sourceforge.net/"
11 WGET_URL="http://sourceforge.net/projects/timidity/files/latest/download"
13 DEPENDS="alsa-lib portaudio jack-audio-connection-kit libao libvorbis libogg \
14 flac gtk+ xorg-libXaw ncurses libdb"
15 BUILD_DEPENDS="alsa-lib-dev portaudio-dev jack-audio-connection-kit-dev \
16 libao-dev libvorbis-dev libogg-dev flac-dev gtk+-dev xorg-libXaw-dev ncurses-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure --prefix=/usr \
22 --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \
23 --enable-interface=gtk,xaw,ncurses \
24 --enable-alsaseq
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 }
36 post_install()
37 {
38 # create config file
39 mkdir "$1/usr/share/timidity"
40 touch "$1/usr/share/timidity/timidity.cfg"
41 }
43 post_remove()
44 {
45 rm -rf "$1/usr/share/timidity"
46 }