wok view libvalhalla/receipt @ rev 11003

Up: audacious to 3.0.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 03:09:20 2011 +0000 (2011-10-13)
parents c9de22e2eb11
children f036f9b0902f
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
18 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
19 # Fix configure for GCC 4.5.0
20 sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure
21 ./configure \
22 --prefix=/usr &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }