SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "opendkim"

# SliTaz package receipt.

PACKAGE="opendkim"
VERSION="2.10.3"
CATEGORY="network"
SHORT_DESC="DKIM library, MTA filter implementation and associated tools."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
WEB_SITE="http://www.opendkim.org/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="libbsd libssl"
BUILD_DEPENDS="libbsd openssl-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/opendkim/files/ 2>/dev/null | \
    sed '/scope="row/!d;/opendkim-/!d;s|.*dkim-||;s|.tar.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    # The default --enable-filer neads milter
    ./configure --disable-filter \
        --sysconfdir=/etc \
        $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

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