wok-next annotate TiMidity++/receipt @ rev 19316
Fix build: clamtk, cpu-g, cups-filters.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 12 15:17:10 2016 +0300 (2016-07-12) |
parents | 45507bfb2b0d |
children | fb478984fbc8 |
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/" |
mojo@13217 | 11 WGET_URL="http://sourceforge.net/projects/timidity/files/latest/download" |
mojo@13217 | 12 |
al@19275 | 13 DEPENDS="alsa-lib portaudio jack-audio-connection-kit libao libvorbis libogg \ |
al@19275 | 14 flac gtk+ xorg-libXaw" |
al@19275 | 15 BUILD_DEPENDS="alsa-lib-dev portaudio-dev jack-audio-connection-kit-dev \ |
al@19275 | 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 \ |
mojo@13217 | 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 } |