wok-current view qjackctl/receipt @ rev 13357

naim: update compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 10 16:37:53 2012 +0200 (2012-09-10)
parents 442ad6c5ca15
children 9b5bad25effd
line source
1 # SliTaz package receipt.
3 PACKAGE="qjackctl"
4 VERSION="0.3.6"
5 CATEGORY="multimedia"
6 SHORT_DESC="Application to Control Jack"
7 MAINTAINER="allan316@gmail.com"
8 BUILD_DEPENDS="qmake Qt4-dev jack-audio-connection-kit jack-audio-connection-kit-dev xorg-xproto xorg-libX11-dev"
9 DEPENDS="jack-audio-connection-kit libQtCore libQtGui libQtXml alsa-lib \
10 expat fontconfig freetype glib xorg-libICE xorg-libSM xorg-libX11 \
11 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXi xorg-libXrandr \
12 xorg-libXrender zlib libpng"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WEB_SITE="http://qjackctl.sourceforge.net"
15 WGET_URL="http://nchc.dl.sourceforge.net/sourceforge/qjackctl/$TARBALL"
16 TAGS="audio sound"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's|^LIBS.*|& -Wl,--copy-dt-needed-entries -lX11|' qjackctl.pro.in
23 ./configure --prefix=/usr --infodir=/usr/share/info \
24 --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make -j1 &&
26 make -j1 DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share $fs/usr
35 }