wok-current view libsieve/receipt @ rev 25109

Up perl-date-manip (6.88)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 25 09:21:55 2022 +0000 (2022-06-25)
parents adbdcada3730
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libsieve"
4 VERSION="2.3.1"
5 CATEGORY="network"
6 SHORT_DESC="A library for parsing, sorting and filtering your mail."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/sodabrew/libsieve"
11 WGET_URL="https://github.com/downloads/sodabrew/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="wget"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://github.com/sodabrew/libsieve/commits/libsieve-2.3 2>/dev/null | \
19 sed '/Version/!d;s|.* \([0-9]\)|\1|;s|<.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }