wok view zeromq/receipt @ rev 24996

updated nim (0.19.6 -> 1.6.6)
author Hans-G?nter Theisgen
date Mon May 16 10:46:30 2022 +0100 (2022-05-16)
parents 1e0e339f9dcc
children 0262035dc1e7
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 }