wok-current view TiMidity++/receipt @ rev 23231
updated ncurses packages (6.1 -> 6.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 24 09:52:40 2020 +0100 (2020-03-24) |
parents | 86790a278e70 |
children | a3b6dd3aac6f |
line source
1 # SliTaz package receipt.
3 PACKAGE="TiMidity++"
4 VERSION="2.15.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="An open source MIDI to WAVE converter and player."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://sourceforge.net/projects/timidity/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/timidity/$TARBALL"
14 DEPENDS="alsa-lib flac gtk+ jack-audio-connection-kit libao libdb libogg \
15 libvorbis portaudio xorg-libXaw3d"
16 BUILD_DEPENDS="alsa-lib-dev flac-dev gtk+-dev jack-audio-connection-kit-dev \
17 libao-dev libogg-dev libvorbis-dev portaudio-dev xorg-libXaw3d-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 ./configure \
23 --prefix=/usr \
24 --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \
25 --enable-interface=gtk,xaw \
26 --enable-alsaseq
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }
38 post_install()
39 {
40 # create configuration file
41 mkdir "$1/usr/share/timidity"
42 touch "$1/usr/share/timidity/timidity.cfg"
43 }
45 post_remove()
46 {
47 rm -rf "$1/usr/share/timidity"
48 }