wok-next annotate zeromq/receipt @ rev 19212
airgeddon: fix wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 14 10:00:11 2016 +0200 (2016-06-14) |
parents | d167d27535be |
children | fc0a0ab57dc4 |
rev | line source |
---|---|
pascal@16789 | 1 # SliTaz package receipt. |
pascal@16789 | 2 |
pascal@16789 | 3 PACKAGE="zeromq" |
pascal@16790 | 4 VERSION="3.2.2.3" |
pascal@16789 | 5 CATEGORY="misc" |
pascal@16789 | 6 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16789 | 7 LICENSE="GPL3 LGPL3" |
pascal@16789 | 8 SHORT_DESC="The ZeroMQ messaging library" |
pascal@16789 | 9 WEB_SITE="http://zeromq.org/" |
pascal@16790 | 10 OBVERSION="4.0.0" |
pascal@16790 | 11 TARBALL="openbts-$OBVERSION.zip" |
pascal@16790 | 12 WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip" |
pascal@16789 | 13 |
pascal@16789 | 14 DEPENDS="" |
pascal@16790 | 15 BUILD_DEPENDS="wget pkg-config util-linux-uuid-dev" |
pascal@16789 | 16 |
pascal@16789 | 17 # Rules to configure and make the package. |
pascal@16789 | 18 compile_rules() |
pascal@16789 | 19 { |
pascal@16790 | 20 tar xzf range-libzmq_$VERSION.tar.gz |
pascal@16790 | 21 cd zeromq-* |
pascal@16789 | 22 ./configure -prefix=/usr $CONFIGURE_ARGS && |
pascal@16789 | 23 make && |
pascal@16789 | 24 make DESTDIR=$DESTDIR install |
pascal@16790 | 25 cp debian/zmq.hpp $DESTDIR/usr/include |
pascal@16789 | 26 } |
pascal@16789 | 27 |
pascal@16789 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16789 | 29 genpkg_rules() |
pascal@16789 | 30 { |
pascal@16789 | 31 mkdir -p $fs/usr/lib |
pascal@16790 | 32 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@16789 | 33 } |