wok-6.x view libvalhalla/receipt @ rev 8532
Don't need to setup src and _pkg varibles in dvdauthor receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 13 03:35:31 2011 +0000 (2011-02-13) |
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 }