SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "sylfilter"

# SliTaz package receipt.

PACKAGE="sylfilter"
VERSION="0.8"
CATEGORY="network"
SHORT_DESC="SylFilter is a light message filter library and command-line tools."
MAINTAINER="pankso@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://sylpheed.sraoss.jp/sylfilter/"
WGET_URL="https://sylpheed.sraoss.jp/sylfilter/src/$TARBALL"
TAGS="mail email filter spam"

DEPENDS="sqlite"
BUILD_DEPENDS="sqlite-dev"

# What is the latest version available today?
current_version()
{
    wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    sed -i 's|config.rpath.*|& 2>/dev/null|' configure    # hide trigger
    ./configure \
        --prefix=/usr \
        $CONFIGURE_ARGS &&
    make && make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib/*.so* $fs/usr/lib
}
5935 packages and 845883 files in cooking database (Sun Jun 30 00:45:24 2024)