wok-next view liblrdf/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 4904e3d374a9 |
children | d43bf7aae921 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="liblrdf"
4 VERSION="0.4.0"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A library for the manipulation of RDF file in LADSPA plugins"
9 WEB_SITE="http://sourceforge.net/projects/lrdf"
11 TARBALL="${PACKAGE}-${VERSION}.tar.gz"
12 WGET_URL="$SF_MIRROR/lrdf/$TARBALL"
14 BUILD_DEPENDS="raptor-dev ladspa-dev curl-dev libxslt-dev \
15 autoconf automake libtool"
16 SPLIT="liblrdf-dev"
18 compile_rules() {
19 patch -Np1 -i $stuff/md5.patch
20 patch -Np0 -i $stuff/raptor2.diff
21 patch -Np1 -i $stuff/pkgconfig-raptor.patch
22 autoreconf -vfi
23 ./configure $CONFIGURE_ARGS && make && make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 liblrdf)
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $install/usr/lib/*so* $fs/usr/lib/
31 cp -a $install/usr/share/ladspa $fs/usr/share
32 DEPENDS="raptor ladspa libcurl libxslt"
33 ;;
34 *-dev)
35 mkdir -p $fs/usr/lib
36 cp -a $install/usr/lib/*.*a $fs/usr/lib
37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
38 cp -a $install/usr/include $fs/usr
39 DEPENDS="liblrdf raptor-dev pkg-config"
40 ;;
41 esac
42 }