wok view liblrdf/receipt @ rev 24666

created recipes for double-conversion and double-conversion-dev
author Hans-G?nter Theisgen
date Fri Mar 11 15:40:49 2022 +0100 (2022-03-11)
parents f95a7662bc92
children 7364ffdaaa60
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 }