wok-current view liblrdf/receipt @ rev 25434
Up znc (1.8.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 29 10:14:47 2022 +0000 (2022-08-29) |
parents | f95a7662bc92 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="liblrdf"
4 VERSION="0.6.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="A library for the manipulation of RDF file in LADSPA plugins."
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/swh/LRDF"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION/$TARBALL"
14 DEPENDS="ladspa libcurl libxslt raptor"
15 BUILD_DEPENDS="autoconf automake curl-dev ladspa-dev libtool
16 libxslt-dev raptor-dev"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # patch -Np1 -i $stuff/md5.patch
28 # patch -Np0 -i $stuff/raptor2.diff
29 # patch -Np1 -i $stuff/pkgconfig-raptor.patch
31 mkdir m4
32 autoreconf -vfi &&
33 ./configure \
34 $CONFIGURE_ARGS &&
35 make &&
36 make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 mkdir -p $fs/usr/share
45 cp -a $install/usr/lib/*so* $fs/usr/lib/
46 cp -a $install/usr/share/ladspa $fs/usr/share
47 }