wok-6.x view zeromq/receipt @ rev 24765

afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 17:45:47 2022 +0000 (2022-03-18)
parents 1e0e339f9dcc
children
line source
1 # SliTaz package receipt.
3 PACKAGE="zeromq"
4 VERSION="3.2.2.3"
5 CATEGORY="misc"
6 MAINTAINER="pascal.bellard@slitaz.org"
7 LICENSE="GPL3 LGPL3"
8 SHORT_DESC="The ZeroMQ messaging library"
9 WEB_SITE="https://zeromq.org/"
10 OBVERSION="4.0.0"
11 TARBALL="openbts-$OBVERSION.zip"
12 WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"
14 DEPENDS=""
15 BUILD_DEPENDS="wget pkg-config util-linux-uuid-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 tar xzf range-libzmq_$VERSION.tar.gz
27 cd zeromq-*
28 ./configure -prefix=/usr $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 cp debian/zmq.hpp $DESTDIR/usr/include
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }