wok-current rev 16790

Down zeromq (3.2.2.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 02 11:44:42 2014 +0200 (2014-07-02)
parents d167d27535be
children c54f9ed61f3b
files zeromq-dev/receipt zeromq/receipt
line diff
     1.1 --- a/zeromq-dev/receipt	Wed Jul 02 11:03:41 2014 +0200
     1.2 +++ b/zeromq-dev/receipt	Wed Jul 02 11:44:42 2014 +0200
     1.3 @@ -1,7 +1,8 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="zeromq-dev"
     1.7 -VERSION="4.0.4"
     1.8 +VERSION="3.2.2.3"
     1.9 +#VERSION="4.0.4"
    1.10  CATEGORY="development"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3 LGPL3"
    1.13 @@ -16,6 +17,6 @@
    1.14  {
    1.15  	mkdir -p $fs/usr/lib
    1.16  	cp -a $install/usr/include $fs/usr
    1.17 -	cp -a $install/usr/lib/pkgconfig $fs/usr
    1.18 -	cp -a $install/usr/lib/*.a $fs/usr
    1.19 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.20 +	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.21  }
     2.1 --- a/zeromq/receipt	Wed Jul 02 11:03:41 2014 +0200
     2.2 +++ b/zeromq/receipt	Wed Jul 02 11:44:42 2014 +0200
     2.3 @@ -1,30 +1,33 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="zeromq"
     2.7 -VERSION="4.0.4"
     2.8 +VERSION="3.2.2.3"
     2.9  CATEGORY="misc"
    2.10  MAINTAINER="pascal.bellard@slitaz.org"
    2.11  LICENSE="GPL3 LGPL3"
    2.12  SHORT_DESC="The ZeroMQ messaging library"
    2.13  WEB_SITE="http://zeromq.org/"
    2.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 -WGET_URL="http://download.zeromq.org/$TARBALL"
    2.16 +OBVERSION="4.0.0"
    2.17 +TARBALL="openbts-$OBVERSION.zip"
    2.18 +WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"
    2.19  
    2.20  DEPENDS=""
    2.21 -BUILD_DEPENDS="pkg-config util-linux-uuid-dev"
    2.22 +BUILD_DEPENDS="wget pkg-config util-linux-uuid-dev"
    2.23  
    2.24  # Rules to configure and make the package.
    2.25  compile_rules()
    2.26  {
    2.27 +	tar xzf range-libzmq_$VERSION.tar.gz
    2.28 +	cd zeromq-*
    2.29  	./configure -prefix=/usr $CONFIGURE_ARGS &&
    2.30  	make &&
    2.31  	make DESTDIR=$DESTDIR install
    2.32 +	cp debian/zmq.hpp $DESTDIR/usr/include
    2.33  }
    2.34  	
    2.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.36  genpkg_rules()
    2.37  {
    2.38  	mkdir -p $fs/usr/lib
    2.39 -	cp -a $install/usr/bin $fs/usr
    2.40 -	cp -a $install/usr/lib/*.so* $fs/usr
    2.41 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.42  }