wok-next view libvalhalla/receipt @ rev 11627
Up xine-ui (0.99.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 30 22:43:15 2012 +0100 (2012-01-30) |
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 }