wok-next view libvalhalla/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | d2950281f122 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libvalhalla"
4 VERSION="2.1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="A tiny media scanner API"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://libvalhalla.geexbox.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://libvalhalla.geexbox.org/releases/$TARBALL"
14 BUILD_DEPENDS="ffmpeg-dev ffmpeg-compat-dev libsqlite3 sqlite3-dev \
15 libxml2-dev libexif-dev curl-dev"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 #export LDFLAGS="$LDFLAGS -lavformat"
20 export PKG_CONFIG_PATH=/usr/lib/ffmpeg-compat/pkgconfig
21 export LDFLAGS="$LDFLAGS -Wl,-rpath=/usr/lib/ffmpeg-compat"
23 # Fix Busybox cat
24 sed -i 's/cat -n/awk '"'"'{ printf "%6d %s\\n",++n,$0 }'"'"' </' configure
26 ./configure \
27 --prefix=/usr \
28 &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libvalhalla)
36 copy @std
37 DEPENDS="ffmpeg ffmpeg-compat libexif libsqlite3 libxml2 libgcrypt \
38 libcurl openssl"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="libvalhalla sqlite3-dev"
43 ;;
44 esac
45 }