wok-next view zeromq/receipt @ rev 21117

exo: split "libpkg - pkg - pkg-dev", update in dependent packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jan 14 00:27:10 2019 +0200 (2019-01-14)
parents fc0a0ab57dc4
children 3bc985504162
line source
1 # SliTaz package receipt v2.
3 PACKAGE="zeromq"
4 VERSION="3.2.2.3"
5 CATEGORY="misc"
6 SHORT_DESC="The ZeroMQ messaging library"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3 LGPL3"
9 WEB_SITE="http://zeromq.org/"
11 OBVERSION="4.0.0"
12 TARBALL="openbts-$OBVERSION.zip"
13 WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"
15 BUILD_DEPENDS="xmlto asciidoc"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 tar xzf range-libzmq_$VERSION.tar.gz
20 cd zeromq-*
22 ./configure -prefix=/usr $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$install install
26 cp debian/zmq.hpp $install/usr/include
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 zeromq) copy @std;;
32 *-dev) copy @dev;;
33 esac
34 }