wok view libvalhalla/receipt @ rev 7573

Up: tazpkg 4.1.3
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Dec 09 17:37:28 2010 +0100 (2010-12-09)
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 }