wok-next diff zeromq/receipt @ rev 17566

Up: pixman 0.32.6
author Alexander Medvedev <devl547@gmail.com>
date Sat Feb 07 17:31:51 2015 +0000 (2015-02-07)
parents d167d27535be
children fc0a0ab57dc4
line diff
     1.1 --- a/zeromq/receipt	Wed Jul 02 11:03:41 2014 +0200
     1.2 +++ b/zeromq/receipt	Sat Feb 07 17:31:51 2015 +0000
     1.3 @@ -1,30 +1,33 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="zeromq"
     1.7 -VERSION="4.0.4"
     1.8 +VERSION="3.2.2.3"
     1.9  CATEGORY="misc"
    1.10  MAINTAINER="pascal.bellard@slitaz.org"
    1.11  LICENSE="GPL3 LGPL3"
    1.12  SHORT_DESC="The ZeroMQ messaging library"
    1.13  WEB_SITE="http://zeromq.org/"
    1.14 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 -WGET_URL="http://download.zeromq.org/$TARBALL"
    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="pkg-config util-linux-uuid-dev"
    1.22 +BUILD_DEPENDS="wget pkg-config util-linux-uuid-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 +	tar xzf range-libzmq_$VERSION.tar.gz
    1.28 +	cd zeromq-*
    1.29  	./configure -prefix=/usr $CONFIGURE_ARGS &&
    1.30  	make &&
    1.31  	make DESTDIR=$DESTDIR install
    1.32 +	cp debian/zmq.hpp $DESTDIR/usr/include
    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/*.so* $fs/usr
    1.41 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.42  }