wok-next diff zeromq/receipt @ 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 9170e4b0128c
children d5aab818505e
line diff
     1.1 --- a/zeromq/receipt	Wed Jul 02 11:44:42 2014 +0200
     1.2 +++ b/zeromq/receipt	Wed Oct 18 03:15:00 2017 +0300
     1.3 @@ -1,33 +1,34 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="zeromq"
     1.8  VERSION="3.2.2.3"
     1.9  CATEGORY="misc"
    1.10 +SHORT_DESC="The ZeroMQ messaging library"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3 LGPL3"
    1.13 -SHORT_DESC="The ZeroMQ messaging library"
    1.14  WEB_SITE="http://zeromq.org/"
    1.15 +
    1.16  OBVERSION="4.0.0"
    1.17  TARBALL="openbts-$OBVERSION.zip"
    1.18  WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"
    1.19  
    1.20 -DEPENDS=""
    1.21 -BUILD_DEPENDS="wget pkg-config util-linux-uuid-dev"
    1.22 +BUILD_DEPENDS="xmlto asciidoc"
    1.23 +SPLIT="zeromq-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 +compile_rules() {
    1.29  	tar xzf range-libzmq_$VERSION.tar.gz
    1.30  	cd zeromq-*
    1.31 +
    1.32  	./configure -prefix=/usr $CONFIGURE_ARGS &&
    1.33  	make &&
    1.34  	make DESTDIR=$DESTDIR install
    1.35 +
    1.36  	cp debian/zmq.hpp $DESTDIR/usr/include
    1.37  }
    1.38 -	
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 -	mkdir -p $fs/usr/lib
    1.43 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.44 +
    1.45 +genpkg_rules() {
    1.46 +	case $PACKAGE in
    1.47 +		zeromq) copy @std;;
    1.48 +		*-dev)  copy @dev;;
    1.49 +	esac
    1.50  }