wok annotate libvalhalla/receipt @ rev 10605
vlc: update bdeps (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 26 16:13:40 2011 +0200 (2011-05-26) |
parents | c9de22e2eb11 |
children | f036f9b0902f |
rev | line source |
---|---|
pankso@4766 | 1 # SliTaz package receipt. |
pankso@4766 | 2 |
pankso@4766 | 3 PACKAGE="libvalhalla" |
slaxemulator@9015 | 4 VERSION="2.0.0" |
jozee@4783 | 5 CATEGORY="multimedia" |
pankso@4766 | 6 SHORT_DESC="A tiny media scanner API." |
pankso@4766 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@5003 | 8 DEPENDS="ffmpeg libexif sqlite libxml2 libgcrypt libcurl libcrypto" |
pascal@10574 | 9 BUILD_DEPENDS="ffmpeg-dev" |
pankso@4766 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4766 | 11 WEB_SITE="http://libvalhalla.geexbox.org/" |
pankso@4766 | 12 WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL" |
pankso@4766 | 13 |
pankso@4766 | 14 # Rules to configure and make the package. |
pankso@4766 | 15 compile_rules() |
pankso@4766 | 16 { |
pankso@4766 | 17 cd $src |
pascal@5162 | 18 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure |
pascal@5903 | 19 # Fix configure for GCC 4.5.0 |
pascal@5903 | 20 sed -i 's/"\$@" >>\$logfile 2/$@ >>$logfile 2/' configure |
pankso@4766 | 21 ./configure \ |
pankso@4766 | 22 --prefix=/usr && |
pankso@4766 | 23 make && make DESTDIR=$PWD/_pkg install |
pankso@4766 | 24 } |
pankso@4766 | 25 |
pankso@4766 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4766 | 27 genpkg_rules() |
pankso@4766 | 28 { |
pankso@4766 | 29 mkdir -p $fs/usr/lib |
pankso@4766 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4766 | 31 } |