wok-next diff sord/receipt @ rev 20406

Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 08 02:55:48 2017 +0200 (2017-12-08)
parents 3b4e4318134e
children 6e0553fe45e7
line diff
     1.1 --- a/sord/receipt	Tue Dec 03 18:28:51 2013 +0000
     1.2 +++ b/sord/receipt	Fri Dec 08 02:55:48 2017 +0200
     1.3 @@ -1,31 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="sord"
     1.8  VERSION="0.8.0"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="A lightweight C library for storing RDF data in memory."
    1.11 +SHORT_DESC="A lightweight C library for storing RDF data in memory"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="ISC"
    1.14 +WEB_SITE="http://drobilla.net/software/sord/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://drobilla.net/software/sord/"
    1.18  WGET_URL="http://download.drobilla.net/$TARBALL"
    1.19  
    1.20 -DEPENDS="serd pcre"
    1.21 -BUILD_DEPENDS="pkg-config serd-dev pcre"
    1.22 +BUILD_DEPENDS="python serd-dev pcre-dev"
    1.23 +SPLIT="sord-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 +compile_rules() {
    1.30  	./waf configure --prefix=/usr &&
    1.31  	./waf build &&
    1.32  	./waf install --destdir=$DESTDIR
    1.33  }
    1.34  
    1.35 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.36 -genpkg_rules()
    1.37 -{
    1.38 -	mkdir -p $fs/usr/lib
    1.39 -	cp -a $install/usr/bin $fs/usr
    1.40 -	cp -a $install/usr/lib/lib* $fs/usr/lib
    1.41 +genpkg_rules() {
    1.42 +	case $PACKAGE in
    1.43 +		sord)
    1.44 +			copy @std
    1.45 +			DEPENDS="pcre serd"
    1.46 +			;;
    1.47 +		*-dev)
    1.48 +			copy @dev
    1.49 +			DEPENDS="sord serd-dev"
    1.50 +			;;
    1.51 +	esac
    1.52  }