wok rev 13103

Up: raptor to 2.0.7.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 26 18:36:55 2012 +0000 (2012-06-26)
parents d64255d3603e
children f465ac8d90b8
files raptor-dev/receipt raptor/receipt
line diff
     1.1 --- a/raptor-dev/receipt	Tue Jun 26 18:33:47 2012 +0000
     1.2 +++ b/raptor-dev/receipt	Tue Jun 26 18:36:55 2012 +0000
     1.3 @@ -1,21 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="raptor-dev"
     1.7 -VERSION="1.4.21"
     1.8 +VERSION="2.0.7"
     1.9  CATEGORY="development"
    1.10  MAINTAINER="jozee@slitaz.org"
    1.11  SHORT_DESC="raptor devel files"
    1.12 -DEPENDS="raptor"
    1.13 +DEPENDS="raptor curl-dev libxslt-dev"
    1.14  WEB_SITE="http://librdf.org/raptor"
    1.15  WANTED="raptor"
    1.16  
    1.17 -
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21  	mkdir -p $fs/usr/lib $fs/usr/bin
    1.22 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.23 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.24 -	cp -a $_pkg/usr/include $fs/usr
    1.25 -	cp -a $_pkg/usr/bin/raptor-config $fs/usr/bin
    1.26 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.27 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.28 +	cp -a $install/usr/include $fs/usr
    1.29  }
     2.1 --- a/raptor/receipt	Tue Jun 26 18:33:47 2012 +0000
     2.2 +++ b/raptor/receipt	Tue Jun 26 18:36:55 2012 +0000
     2.3 @@ -1,31 +1,30 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="raptor"
     2.7 -VERSION="1.4.21"
     2.8 +VERSION="2.0.7"
     2.9  CATEGORY="multimedia"
    2.10  MAINTAINER="jozee@slitaz.org"
    2.11  SHORT_DESC="A C library that parses RDF/XML/N-Triples into RDF triples"
    2.12  WEB_SITE="http://librdf.org/raptor"
    2.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +SOURCE="raptor2"
    2.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    2.16  WGET_URL="http://librdf.org/dist/source/$TARBALL"
    2.17  
    2.18  DEPENDS="libxml2 curl zlib openssl libxslt"
    2.19  BUILD_DEPENDS="libxml2-dev curl-dev zlib-dev openssl-dev libxslt-dev libidn-dev"
    2.20  
    2.21  # Rules to configure and make the package.
    2.22 -
    2.23 -compile_rules() {
    2.24 -  cd $src
    2.25 -  # fix build with curl >= 7.21.2
    2.26 -  sed -i '/#include <curl\/types.h>/d' src/raptor_internal.h
    2.27 -  ./configure --disable-static $CONFIGURE_ARGS &&
    2.28 -  make && make prefix=/usr install 
    2.29 +compile_rules()
    2.30 +{
    2.31 +	cd $src
    2.32 +	./configure --disable-static --with-yajl=no $CONFIGURE_ARGS &&
    2.33 +	make && make prefix=/usr install 
    2.34  }
    2.35  	
    2.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.37  genpkg_rules()
    2.38  {
    2.39  	mkdir -p $fs/usr/lib $fs/usr/bin
    2.40 -	cp -a $_pkg/usr/bin/rapper $fs/usr/bin
    2.41 -	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/	
    2.42 +	cp -a $install/usr/bin/rapper $fs/usr/bin
    2.43 +	cp -a $install/usr/lib/*so* $fs/usr/lib/	
    2.44  }