SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libsieve"

# SliTaz package receipt.

PACKAGE="libsieve"
VERSION="2.3.1"
CATEGORY="network"
SHORT_DESC="A library for parsing, sorting and filtering your mail."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="LGPL2.1"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://github.com/sodabrew/libsieve"
WGET_URL="https://github.com/downloads/sodabrew/$PACKAGE/$TARBALL"

BUILD_DEPENDS="wget"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/sodabrew/libsieve/commits/libsieve-2.3 2>/dev/null | \
    sed '/Version/!d;s|.* \([0-9]\)|\1|;s|<.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# 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)