wok-4.x view libvalhalla/receipt @ rev 8937
foomatic-db-engine, realvnc-viewer, scribus, vlc, xfce4-taskmanager, xfmpc, xfprint, xpad: update BUILD_DEPENDS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 01 16:00:45 2011 +0100 (2011-03-01) |
parents | 252a378d28c1 |
children | b49fc09f0d1c |
line source
1 # SliTaz package receipt.
3 PACKAGE="libvalhalla"
4 VERSION="1.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 }