wok-6.x annotate TiMidity++/receipt @ rev 21976

updated stjerm-terminal (0.11 -> 0.18)
author Hans-G?nter Theisgen
date Fri Oct 11 16:29:19 2019 +0100 (2019-10-11)
parents d40bfc9d243c
children ecebedde2c92
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"
pascal@15000 8 LICENSE="GPL2"
mojo@13217 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mojo@13217 10 WEB_SITE="http://timidity.sourceforge.net/"
pascal@20421 11 WGET_URL="https://sourceforge.net/projects/timidity/files/latest/download"
mojo@13217 12
al@19275 13 DEPENDS="alsa-lib portaudio jack-audio-connection-kit libao libvorbis libogg \
paul@20145 14 flac gtk+ xorg-libXaw libdb"
al@19275 15 BUILD_DEPENDS="alsa-lib-dev portaudio-dev jack-audio-connection-kit-dev \
paul@20145 16 libao-dev libvorbis-dev libogg-dev flac-dev gtk+-dev xorg-libXaw-dev"
mojo@13217 17
mojo@13217 18 # Rules to configure and make the package.
mojo@13217 19 compile_rules()
mojo@13217 20 {
mojo@13217 21 ./configure --prefix=/usr \
mojo@13217 22 --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \
paul@20145 23 --enable-interface=gtk,xaw \
al@19264 24 --enable-alsaseq
mojo@13217 25 make &&
mojo@13217 26 make DESTDIR=$DESTDIR install
mojo@13217 27 }
mojo@13217 28
al@19264 29 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19264 30 genpkg_rules()
mojo@13217 31 {
mojo@13217 32 mkdir -p $fs/usr
mojo@13217 33 cp -a $install/usr/bin $fs/usr
mojo@13217 34 }
mojo@13217 35
mojo@13217 36 post_install()
mojo@13217 37 {
mojo@13217 38 # create config file
pascal@18730 39 mkdir "$1/usr/share/timidity"
pascal@18730 40 touch "$1/usr/share/timidity/timidity.cfg"
mojo@13217 41 }
mojo@13217 42
mojo@13217 43 post_remove()
mojo@13217 44 {
pascal@18730 45 rm -rf "$1/usr/share/timidity"
mojo@13217 46 }