SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "zeromq"

# SliTaz package receipt.

PACKAGE="zeromq"
VERSION="3.2.2.3"
CATEGORY="misc"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL3 LGPL3"
SHORT_DESC="The ZeroMQ messaging library"
WEB_SITE="https://zeromq.org/"
OBVERSION="4.0.0"
TARBALL="openbts-$OBVERSION.zip"
WGET_URL="https://github.com/RangeNetworks/dev/releases/download/v$OBVERSION/v$OBVERSION-source.zip"

DEPENDS=""
BUILD_DEPENDS="wget pkg-config util-linux-uuid-dev"

current_version()
{
    wget -O - ${WGET_URL%/down*} 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    tar xzf range-libzmq_$VERSION.tar.gz
    cd zeromq-*
    ./configure -prefix=/usr $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
    cp debian/zmq.hpp $DESTDIR/usr/include
}
    
# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)