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