SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libevent"

# SliTaz package receipt.

PACKAGE="libevent"
VERSION="2.1.12"
CATEGORY="system-tools"
SHORT_DESC="An event notification library."
MAINTAINER="0dddba11@googlemail.com"
LICENSE="BSD"
WEB_SITE="https://libevent.org"

TARBALL="$PACKAGE-$VERSION-stable.tar.gz"
WGET_URL="https://github.com/$PACKAGE/$PACKAGE/releases/download/release-$VERSION-stable/$TARBALL"

DEPENDS="openssl"
BUILD_DEPENDS="openssl-dev"

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure        \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    bin
    cook_copy_files        *.so*
}
6047 packages and 209931 files in current database (Mon Jul 1 15:25:36 2024)