wok view opendkim/receipt @ rev 25625

Add opendkim (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 08 17:14:09 2023 +0000 (7 months ago)
parents 8ac6f7029d68
children c50854f9fd59
line source
1 # SliTaz package receipt.
3 PACKAGE="opendkim"
4 VERSION="2.10.3"
5 CATEGORY="network"
6 SHORT_DESC="DKIM library, MTA filter implementation and associated tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.opendkim.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="libbsd libssl"
15 BUILD_DEPENDS="libbsd openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/opendkim/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/opendkim-/!d;s|.*dkim-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # The default --enable-filer neads milter
28 ./configure --disable-filter $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/lib*.so* $fs/usr/lib
38 cp -a $install/usr/sbin $fs/usr
39 }