wok annotate TiMidity++/receipt @ rev 19264
Compress manpages (in $install/usr/share/man/...)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 04 00:54:49 2016 +0300 (2016-07-04) |
parents | 9e01bc6321ea |
children | 11b5e93cb5f2 |
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 |
mojo@13217 | 13 DEPENDS="alsa-lib portaudio jack-audio-connection-kit libao libvorbis libogg flac gtk+ xorg-libXaw" |
mojo@13217 | 14 BUILD_DEPENDS="alsa-lib-dev portaudio-dev jack-audio-connection-kit-dev libao-dev libvorbis-dev libogg-dev |
mojo@13217 | 15 flac-dev gtk+-dev xorg-libXaw-dev" |
mojo@13217 | 16 |
mojo@13217 | 17 # Rules to configure and make the package. |
mojo@13217 | 18 compile_rules() |
mojo@13217 | 19 { |
mojo@13217 | 20 ./configure --prefix=/usr \ |
mojo@13217 | 21 --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \ |
mojo@13217 | 22 --enable-interface=gtk,xaw \ |
al@19264 | 23 --enable-alsaseq |
mojo@13217 | 24 make && |
mojo@13217 | 25 make DESTDIR=$DESTDIR install |
al@19264 | 26 |
al@19264 | 27 cook_compress_manpages |
mojo@13217 | 28 } |
mojo@13217 | 29 |
al@19264 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19264 | 31 genpkg_rules() |
mojo@13217 | 32 { |
mojo@13217 | 33 mkdir -p $fs/usr |
mojo@13217 | 34 cp -a $install/usr/bin $fs/usr |
mojo@13217 | 35 } |
mojo@13217 | 36 |
mojo@13217 | 37 post_install() |
mojo@13217 | 38 { |
mojo@13217 | 39 # create config file |
pascal@18730 | 40 mkdir "$1/usr/share/timidity" |
pascal@18730 | 41 touch "$1/usr/share/timidity/timidity.cfg" |
mojo@13217 | 42 } |
mojo@13217 | 43 |
mojo@13217 | 44 post_remove() |
mojo@13217 | 45 { |
pascal@18730 | 46 rm -rf "$1/usr/share/timidity" |
mojo@13217 | 47 } |