wok-next diff raptor/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 408c87fa22ca |
children | d43bf7aae921 |
line diff
1.1 --- a/raptor/receipt Sat Aug 10 17:48:05 2013 +0000 1.2 +++ b/raptor/receipt Wed Jun 14 09:51:23 2017 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="raptor" 1.8 VERSION="2.0.8" 1.9 @@ -11,8 +11,8 @@ 1.10 TARBALL="$SOURCE-$VERSION.tar.gz" 1.11 WGET_URL="http://librdf.org/dist/source/$TARBALL" 1.12 1.13 -DEPENDS="libxml2 curl zlib openssl libxslt" 1.14 BUILD_DEPENDS="libxml2-dev curl-dev zlib-dev openssl-dev libxslt-dev libidn-dev" 1.15 +SPLIT="raptor-dev" 1.16 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 @@ -24,8 +24,16 @@ 1.20 1.21 # Rules to gen a SliTaz package suitable for Tazpkg. 1.22 genpkg_rules() 1.23 -{ 1.24 - mkdir -p $fs/usr/lib $fs/usr/bin 1.25 - cp -a $install/usr/bin/rapper $fs/usr/bin 1.26 - cp -a $install/usr/lib/*so* $fs/usr/lib/ 1.27 +{ 1.28 + case $PACKAGE in 1.29 + raptor) 1.30 + copy @std 1.31 + DEPENDS="libxml2 curl zlib openssl libxslt" 1.32 + ;; 1.33 + raptor-dev) 1.34 + copy @dev 1.35 + ln -s raptor2/raptor2.h $fs/usr/include/raptor.h 1.36 + DEPENDS="raptor curl-dev libxslt-dev pkg-config" 1.37 + ;; 1.38 + esac 1.39 }