wok-next view jack/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents
children c4e53a39395a
line source
1 # SliTaz package receipt v2.
3 PACKAGE="jack"
4 VERSION="0.125.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Low-latency audio server"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="GPL LGPL"
9 WEB_SITE="http://jackaudio.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="jack-audio-connection-kit-$VERSION.tar.gz"
13 WGET_URL="http://jackaudio.org/downloads/$TARBALL"
15 BUILD_DEPENDS="automake libtool \
16 db-dev libsndfile-dev libsamplerate-dev alsa-lib-dev readline-dev doxygen"
17 SPLIT="jack-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 autoreconf -fi &&
23 sed -i 's|md5 -q|md5sum|' jackd/Makefile.in
25 ./configure \
26 --docdir=/usr/share/doc/$PACKAGE-$VERSION \
27 --enable-optimization-by-compiler \
28 --enable-optimize \
29 --disable-coreaudio --disable-oss --disable-sun --disable-sndio \
30 --disable-freebob --disable-firewire \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 case $PACKAGE in
39 jack)
40 copy @std
41 DEPENDS="alsa-lib flac libdb libogg libsamplerate libsndfile \
42 libvorbis ncurses readline"
43 PROVIDE="jack-audio-connection-kit"
44 TAGS="audio server"
45 ;;
46 *-dev)
47 copy @dev
48 DEPENDS="jack alsa-lib-dev db-dev libsamplerate-dev"
49 PROVIDE="jack-audio-connection-kit-dev"
50 ;;
51 esac
52 }