wok-next annotate zeromq/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents fc0a0ab57dc4
children 3bc985504162
rev   line source
al@19978 1 # SliTaz package receipt v2.
pascal@16789 2
pascal@16789 3 PACKAGE="zeromq"
pascal@16790 4 VERSION="3.2.2.3"
pascal@16789 5 CATEGORY="misc"
al@19978 6 SHORT_DESC="The ZeroMQ messaging library"
pascal@16789 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@16789 8 LICENSE="GPL3 LGPL3"
pascal@16789 9 WEB_SITE="http://zeromq.org/"
al@19978 10
pascal@16790 11 OBVERSION="4.0.0"
pascal@16790 12 TARBALL="openbts-$OBVERSION.zip"
pascal@16790 13 WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"
pascal@16789 14
al@19978 15 BUILD_DEPENDS="xmlto asciidoc"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@16789 17
al@19978 18 compile_rules() {
pascal@16790 19 tar xzf range-libzmq_$VERSION.tar.gz
pascal@16790 20 cd zeromq-*
al@19978 21
pascal@16789 22 ./configure -prefix=/usr $CONFIGURE_ARGS &&
pascal@16789 23 make &&
al@21020 24 make DESTDIR=$install install
al@19978 25
al@21020 26 cp debian/zmq.hpp $install/usr/include
pascal@16789 27 }
al@19978 28
al@19978 29 genpkg_rules() {
al@19978 30 case $PACKAGE in
al@19978 31 zeromq) copy @std;;
al@19978 32 *-dev) copy @dev;;
al@19978 33 esac
pascal@16789 34 }