wok-current annotate zeromq/receipt @ rev 24272
updated perltidy (20200110 -> 20211029)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 10:48:51 2022 +0100 (2022-01-02) |
parents | 1e0e339f9dcc |
children |
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@21818 | 9 WEB_SITE="https://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@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@16789 | 23 # Rules to configure and make the package. |
pascal@16789 | 24 compile_rules() |
pascal@16789 | 25 { |
pascal@16790 | 26 tar xzf range-libzmq_$VERSION.tar.gz |
pascal@16790 | 27 cd zeromq-* |
pascal@16789 | 28 ./configure -prefix=/usr $CONFIGURE_ARGS && |
pascal@16789 | 29 make && |
pascal@16789 | 30 make DESTDIR=$DESTDIR install |
pascal@16790 | 31 cp debian/zmq.hpp $DESTDIR/usr/include |
pascal@16789 | 32 } |
pascal@16789 | 33 |
pascal@16789 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16789 | 35 genpkg_rules() |
pascal@16789 | 36 { |
pascal@16789 | 37 mkdir -p $fs/usr/lib |
pascal@16790 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@16789 | 39 } |