wok-6.x view libvalhalla/receipt @ rev 10056

xorg-xrdb: Add $CONFIGURE_ARGS.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri May 20 04:39:17 2011 +0000 (2011-05-20)
parents 60eee2a3b52a
children c9de22e2eb11
line source
1 # SliTaz package receipt.
3 PACKAGE="libvalhalla"
4 VERSION="2.0.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A tiny media scanner API."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="ffmpeg libexif sqlite libxml2 libgcrypt libcurl libcrypto"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libvalhalla.geexbox.org/"
11 WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
18 # Fix configure for GCC 4.5.0
19 sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure
20 ./configure \
21 --prefix=/usr &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }