wok-next rev 19978

Receipts v2: xmlrpc-c, yaml, zeromq.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Oct 18 03:15:00 2017 +0300 (2017-10-18)
parents a549b8c7a7db
children db97269587e6
files libsdl-pango-dev/receipt xmlrpc-c-dev/receipt xmlrpc-c/receipt yaml-dev/receipt yaml/receipt zeromq-dev/receipt zeromq/receipt
line diff
     1.1 --- a/libsdl-pango-dev/receipt	Tue Oct 17 21:42:02 2017 +0200
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,23 +0,0 @@
     1.4 -# SliTaz package receipt.
     1.5 -
     1.6 -PACKAGE="libsdl-pango-dev"
     1.7 -VERSION="0.1.2"
     1.8 -CATEGORY="development"
     1.9 -SHORT_DESC="devel files for libsdl-pango"
    1.10 -MAINTAINER="slaxemulator@gmail.com"
    1.11 -LICENSE="LGPL2.1"
    1.12 -WEB_SITE="http://sdlpango.sourceforge.net/"
    1.13 -WANTED="libsdl-pango"
    1.14 -HOST_ARCH="i486 arm"
    1.15 -
    1.16 -DEPENDS="libsdl-pango pango-dev pkg-config"
    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
    1.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.24 -	cp -a $install/usr/include $fs/usr
    1.25 -}
    1.26 -
     2.1 --- a/xmlrpc-c-dev/receipt	Tue Oct 17 21:42:02 2017 +0200
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,19 +0,0 @@
     2.4 -# SliTaz package receipt.
     2.5 -
     2.6 -PACKAGE="xmlrpc-c-dev"
     2.7 -VERSION="1.25.28"
     2.8 -CATEGORY="development"
     2.9 -SHORT_DESC="A lightweight RPC library based on XML and HTTP, development files."
    2.10 -MAINTAINER="pascal.bellard@slitaz.org"
    2.11 -LICENSE="BSD"
    2.12 -WEB_SITE="http://xmlrpc-c.sourceforge.net/"
    2.13 -WANTED="xmlrpc-c"
    2.14 -
    2.15 -DEPENDS="xmlrpc-c"
    2.16 -
    2.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    2.18 -genpkg_rules()
    2.19 -{
    2.20 -	cp -a $install/* $fs/
    2.21 -	rm -f $fs/usr/lib/*.so*
    2.22 -}
     3.1 --- a/xmlrpc-c/receipt	Tue Oct 17 21:42:02 2017 +0200
     3.2 +++ b/xmlrpc-c/receipt	Wed Oct 18 03:15:00 2017 +0300
     3.3 @@ -1,32 +1,37 @@
     3.4 -# SliTaz package receipt.
     3.5 +# SliTaz package receipt v2.
     3.6  
     3.7  PACKAGE="xmlrpc-c"
     3.8 -VERSION="1.25.28"
     3.9 +VERSION="1.39.12"
    3.10  CATEGORY="network"
    3.11 -SHORT_DESC="A lightweight RPC library based on XML and HTTP."
    3.12 +SHORT_DESC="A lightweight RPC library based on XML and HTTP"
    3.13  MAINTAINER="pascal.bellard@slitaz.org"
    3.14  LICENSE="BSD"
    3.15  WEB_SITE="http://xmlrpc-c.sourceforge.net/"
    3.16 +
    3.17  TARBALL="$PACKAGE-$VERSION.tgz"
    3.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    3.19 -#HOST_ARCH="i486 arm"
    3.20  
    3.21 -DEPENDS="gcc-lib-base"
    3.22 +BUILD_DEPENDS="automake texinfo curl-dev libxml2-dev"
    3.23 +SPLIT="xmlrpc-c-dev"
    3.24  
    3.25 -# Rules to configure and make the package.
    3.26 -compile_rules()
    3.27 -{
    3.28 -	find -name 'Makefile*' | sed 's/Makefile.*/depend.mk/' | \
    3.29 -		xargs touch -d 197001010000
    3.30 -	./configure --prefix=/usr \
    3.31 +compile_rules() {
    3.32 +	# this file appeared later (with this content), but is absent when it required
    3.33 +	echo ' -Isrcdir/lib/curl_transport' > src/libxmlrpc_client.cflags
    3.34 +
    3.35 +	./configure \
    3.36 +		--enable-libxml2-backend \
    3.37 +		--disable-cgi-server \
    3.38 +		--disable-libwww-client \
    3.39 +		--disable-wininet-client \
    3.40 +		--enable-cplusplus \
    3.41  		$CONFIGURE_ARGS &&
    3.42  	make -j 1 &&
    3.43  	make DESTDIR=$DESTDIR install
    3.44  }
    3.45  
    3.46 -# Rules to gen a SliTaz package suitable for Tazpkg.
    3.47 -genpkg_rules()
    3.48 -{
    3.49 -	mkdir -p $fs/usr/lib
    3.50 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    3.51 +genpkg_rules() {
    3.52 +	case $PACKAGE in
    3.53 +		xmlrpc-c) copy @std;;
    3.54 +		*-dev)    copy @dev;;
    3.55 +	esac
    3.56  }
     4.1 --- a/yaml-dev/receipt	Tue Oct 17 21:42:02 2017 +0200
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,23 +0,0 @@
     4.4 -# SliTaz package receipt.
     4.5 -
     4.6 -PACKAGE="yaml-dev"
     4.7 -VERSION="0.1.4"
     4.8 -CATEGORY="development"
     4.9 -SHORT_DESC="yaml dev files."
    4.10 -MAINTAINER="erjo@slitaz.org"
    4.11 -LICENSE="CC-BY"
    4.12 -WEB_SITE="http://pyyaml.org/wiki/LibYAML"
    4.13 -WANTED="yaml"
    4.14 -
    4.15 -DEPENDS="yaml pkg-config"
    4.16 -
    4.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    4.18 -genpkg_rules()
    4.19 -{
    4.20 -	mkdir -p $fs/usr/lib
    4.21 -	cp -a $install/usr/lib/*.*a  $fs/usr/lib
    4.22 -	cp -a $install/usr/lib/pkgconfig  $fs/usr/lib
    4.23 -	cp -a $install/usr/include  $fs/usr
    4.24 -	
    4.25 -}
    4.26 -
     5.1 --- a/yaml/receipt	Tue Oct 17 21:42:02 2017 +0200
     5.2 +++ b/yaml/receipt	Wed Oct 18 03:15:00 2017 +0300
     5.3 @@ -1,28 +1,25 @@
     5.4 -# SliTaz package receipt.
     5.5 +# SliTaz package receipt v2.
     5.6  
     5.7  PACKAGE="yaml"
     5.8 -VERSION="0.1.4"
     5.9 +VERSION="0.1.7"
    5.10  CATEGORY="system-tools"
    5.11 -SHORT_DESC="YAML 1.1 parser and emitter written in C."
    5.12 +SHORT_DESC="YAML 1.1 parser and emitter written in C"
    5.13  MAINTAINER="erjo@slitaz.org"
    5.14  LICENSE="CC-BY"
    5.15  WEB_SITE="http://pyyaml.org/wiki/LibYAML"
    5.16 +
    5.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    5.18  WGET_URL="http://pyyaml.org/download/libyaml/$TARBALL"
    5.19  
    5.20 -DEPENDS=""
    5.21 -BUILD_DEPENDS=""
    5.22 +SPLIT="yaml-dev"
    5.23  
    5.24 -# Rules to configure and make the package.
    5.25 -compile_rules()
    5.26 -{
    5.27 -	cd $src
    5.28 +compile_rules() {
    5.29  	./configure $CONFIGURE_ARGS && make && make install
    5.30  }
    5.31  
    5.32 -# Rules to gen a SliTaz package suitable for Tazpkg.
    5.33 -genpkg_rules()
    5.34 -{
    5.35 -	mkdir -p $fs/usr/lib
    5.36 -	cp -a $install/usr/lib/*.so*  $fs/usr/lib
    5.37 +genpkg_rules() {
    5.38 +	case $PACKAGE in
    5.39 +		yaml)  copy @std;;
    5.40 +		*-dev) copy @dev;;
    5.41 +	esac
    5.42  }
     6.1 --- a/zeromq-dev/receipt	Tue Oct 17 21:42:02 2017 +0200
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,21 +0,0 @@
     6.4 -# SliTaz package receipt.
     6.5 -
     6.6 -PACKAGE="zeromq-dev"
     6.7 -VERSION="3.2.2.3"
     6.8 -CATEGORY="development"
     6.9 -MAINTAINER="pascal.bellard@slitaz.org"
    6.10 -LICENSE="GPL3 LGPL3"
    6.11 -SHORT_DESC="The ZeroMQ messaging library, development files."
    6.12 -WEB_SITE="http://zeromq.org/"
    6.13 -WANTED="zeromq"
    6.14 -
    6.15 -DEPENDS="zeromq"
    6.16 -
    6.17 -# Rules to gen a SliTaz package suitable for Tazpkg.
    6.18 -genpkg_rules()
    6.19 -{
    6.20 -	mkdir -p $fs/usr/lib
    6.21 -	cp -a $install/usr/include $fs/usr
    6.22 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    6.23 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    6.24 -}
     7.1 --- a/zeromq/receipt	Tue Oct 17 21:42:02 2017 +0200
     7.2 +++ b/zeromq/receipt	Wed Oct 18 03:15:00 2017 +0300
     7.3 @@ -1,33 +1,34 @@
     7.4 -# SliTaz package receipt.
     7.5 +# SliTaz package receipt v2.
     7.6  
     7.7  PACKAGE="zeromq"
     7.8  VERSION="3.2.2.3"
     7.9  CATEGORY="misc"
    7.10 +SHORT_DESC="The ZeroMQ messaging library"
    7.11  MAINTAINER="pascal.bellard@slitaz.org"
    7.12  LICENSE="GPL3 LGPL3"
    7.13 -SHORT_DESC="The ZeroMQ messaging library"
    7.14  WEB_SITE="http://zeromq.org/"
    7.15 +
    7.16  OBVERSION="4.0.0"
    7.17  TARBALL="openbts-$OBVERSION.zip"
    7.18  WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"
    7.19  
    7.20 -DEPENDS=""
    7.21 -BUILD_DEPENDS="wget pkg-config util-linux-uuid-dev"
    7.22 +BUILD_DEPENDS="xmlto asciidoc"
    7.23 +SPLIT="zeromq-dev"
    7.24  
    7.25 -# Rules to configure and make the package.
    7.26 -compile_rules()
    7.27 -{
    7.28 +compile_rules() {
    7.29  	tar xzf range-libzmq_$VERSION.tar.gz
    7.30  	cd zeromq-*
    7.31 +
    7.32  	./configure -prefix=/usr $CONFIGURE_ARGS &&
    7.33  	make &&
    7.34  	make DESTDIR=$DESTDIR install
    7.35 +
    7.36  	cp debian/zmq.hpp $DESTDIR/usr/include
    7.37  }
    7.38 -	
    7.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    7.40 -genpkg_rules()
    7.41 -{
    7.42 -	mkdir -p $fs/usr/lib
    7.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    7.44 +
    7.45 +genpkg_rules() {
    7.46 +	case $PACKAGE in
    7.47 +		zeromq) copy @std;;
    7.48 +		*-dev)  copy @dev;;
    7.49 +	esac
    7.50  }