SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "liblrdf"

# SliTaz package receipt.

PACKAGE="liblrdf"
VERSION="0.6.1"
CATEGORY="multimedia"
SHORT_DESC="A library for the manipulation of RDF file in LADSPA plugins."
MAINTAINER="jozee@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://github.com/swh/LRDF"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$WEB_SITE/archive/v$VERSION/$TARBALL"

DEPENDS="ladspa libcurl libxslt raptor"
BUILD_DEPENDS="autoconf automake curl-dev ladspa-dev libtool 
    libxslt-dev raptor-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
#    patch -Np1 -i $stuff/md5.patch
#    patch -Np0 -i $stuff/raptor2.diff
#    patch -Np1 -i $stuff/pkgconfig-raptor.patch

    mkdir    m4
    autoreconf -vfi &&
    ./configure        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    mkdir -p $fs/usr/share

    cp -a $install/usr/lib/*so*    $fs/usr/lib/
    cp -a $install/usr/share/ladspa    $fs/usr/share
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)