wok-6.x annotate liblrdf/receipt @ rev 25085

gnumeric: added dependency goffice
author Hans-G?nter Theisgen
date Fri Jun 17 06:26:00 2022 +0100 (2022-06-17)
parents f95a7662bc92
children
rev   line source
slaxemulator@6806 1 # SliTaz package receipt.
slaxemulator@6806 2
slaxemulator@6806 3 PACKAGE="liblrdf"
Hans-G?nter@23082 4 VERSION="0.6.1"
slaxemulator@6806 5 CATEGORY="multimedia"
Hans-G?nter@23082 6 SHORT_DESC="A library for the manipulation of RDF file in LADSPA plugins."
slaxemulator@6806 7 MAINTAINER="jozee@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
pascal@23083 9 WEB_SITE="https://github.com/swh/LRDF"
Hans-G?nter@23082 10
pascal@23083 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@23083 12 WGET_URL="$WEB_SITE/archive/v$VERSION/$TARBALL"
slaxemulator@6806 13
Hans-G?nter@23082 14 DEPENDS="ladspa libcurl libxslt raptor"
Hans-G?nter@23082 15 BUILD_DEPENDS="autoconf automake curl-dev ladspa-dev libtool
Hans-G?nter@23082 16 libxslt-dev raptor-dev"
slaxemulator@6806 17
pascal@24055 18 current_version()
pascal@24055 19 {
pascal@24055 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 22 }
pascal@24055 23
slaxemulator@6806 24 # Rules to configure and make the package.
slaxemulator@13126 25 compile_rules()
slaxemulator@13126 26 {
Hans-G?nter@23082 27 # patch -Np1 -i $stuff/md5.patch
Hans-G?nter@23082 28 # patch -Np0 -i $stuff/raptor2.diff
Hans-G?nter@23082 29 # patch -Np1 -i $stuff/pkgconfig-raptor.patch
Hans-G?nter@23082 30
Hans-G?nter@23082 31 mkdir m4
Hans-G?nter@23082 32 autoreconf -vfi &&
Hans-G?nter@23082 33 ./configure \
Hans-G?nter@23082 34 $CONFIGURE_ARGS &&
Hans-G?nter@23082 35 make &&
Hans-G?nter@23082 36 make install
slaxemulator@6806 37 }
slaxemulator@6806 38
slaxemulator@6806 39 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6806 40 genpkg_rules()
slaxemulator@6806 41 {
Hans-G?nter@23082 42 mkdir -p $fs/usr/lib
Hans-G?nter@23082 43 mkdir -p $fs/usr/share
Hans-G?nter@23082 44
Hans-G?nter@23082 45 cp -a $install/usr/lib/*so* $fs/usr/lib/
Hans-G?nter@23082 46 cp -a $install/usr/share/ladspa $fs/usr/share
slaxemulator@6806 47 }