SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "raptor"

# SliTaz package receipt.

PACKAGE="raptor"
VERSION="1.4.21"
CATEGORY="multimedia"
MAINTAINER="jozee@slitaz.org"
SHORT_DESC="A C library that parses RDF/XML/N-Triples into RDF triples"
WEB_SITE="http://librdf.org/raptor"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="http://librdf.org/dist/source/$TARBALL"

DEPENDS="libxml2 curl zlib openssl libxslt"
BUILD_DEPENDS="libxml2-dev curl-dev zlib-dev openssl-dev libxslt-dev libidn-dev"

# Rules to configure and make the package.

compile_rules() {
  cd $src
  # fix build with curl >= 7.21.2
  sed -i '/#include <curl\/types.h>/d' src/raptor_internal.h
  ./configure --disable-static $CONFIGURE_ARGS &&
  make && make prefix=/usr install 
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib $fs/usr/bin
    cp -a $_pkg/usr/bin/rapper $fs/usr/bin
    cp -a $_pkg/usr/lib/*so* $fs/usr/lib/    
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)