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

tahoe-lafs: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 28 18:43:44 2012 +0200 (2012-09-28)
parents 5210042ca605
children a5fbb2485d34
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 BUILD_DEPENDS="ffmpeg-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://libvalhalla.geexbox.org/"
12 WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
19 # Fix build with curl >= 7.21.2
20 sed -i '/#include <curl\/types.h>/d' src/url_utils.c
22 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
23 # Fix configure for GCC 4.5.0
24 sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure
25 ./configure \
26 --prefix=/usr &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }