wok-stable view TiMidity++/receipt @ rev 12460
fix symlinks
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 28 09:09:24 2017 +0200 (2017-04-28) |
parents | |
children |
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 }