wok-next annotate libvalhalla/receipt @ rev 5680
add yp-tools
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 03 10:50:02 2010 +0200 (2010-06-03) |
parents | 8752c40cc534 |
children | 60eee2a3b52a |
rev | line source |
---|---|
pankso@4766 | 1 # SliTaz package receipt. |
pankso@4766 | 2 |
pankso@4766 | 3 PACKAGE="libvalhalla" |
pankso@4766 | 4 VERSION="1.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" |
pankso@4766 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@4766 | 10 WEB_SITE="http://libvalhalla.geexbox.org/" |
pankso@4766 | 11 WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL" |
pankso@4766 | 12 |
pankso@4766 | 13 # Rules to configure and make the package. |
pankso@4766 | 14 compile_rules() |
pankso@4766 | 15 { |
pankso@4766 | 16 cd $src |
pascal@5162 | 17 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure |
pankso@4766 | 18 ./configure \ |
pankso@4766 | 19 --prefix=/usr && |
pankso@4766 | 20 make && make DESTDIR=$PWD/_pkg install |
pankso@4766 | 21 } |
pankso@4766 | 22 |
pankso@4766 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4766 | 24 genpkg_rules() |
pankso@4766 | 25 { |
pankso@4766 | 26 mkdir -p $fs/usr/lib |
pankso@4766 | 27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@4766 | 28 } |