wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="TiMidity++"
4 VERSION="2.14.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="TiMidity++ is an open source MIDI to WAVE converter and player."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://timidity.sourceforge.net/"
11 WGET_URL="http://sourceforge.net/projects/timidity/files/latest/download"
13 DEPENDS="alsa-lib portaudio jack-audio-connection-kit libao libvorbis libogg flac gtk+ xorg-libXaw"
14 BUILD_DEPENDS="alsa-lib-dev portaudio-dev jack-audio-connection-kit-dev libao-dev libvorbis-dev libogg-dev
15 flac-dev gtk+-dev xorg-libXaw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --enable-audio=alsa,portaudio,jack,ao,vorbis,flac \
22 --enable-interface=gtk,xaw \
23 --enable-alsaseq
24 make &&
25 make DESTDIR=$DESTDIR install
27 cook_compress_manpages
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/bin $fs/usr
35 }
37 post_install()
38 {
39 # create config file
40 mkdir "$1/usr/share/timidity"
41 touch "$1/usr/share/timidity/timidity.cfg"
42 }
44 post_remove()
45 {
46 rm -rf "$1/usr/share/timidity"
47 }