wok-6.x view libetpan/receipt @ rev 24422
updated claws-mail packages (3.17.5 -> 3.18.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 16:39:51 2022 +0100 (2022-02-11) |
parents | 392544512bc6 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libetpan"
4 VERSION="1.9.4"
5 CATEGORY="misc"
6 SHORT_DESC="Mail library."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="https://www.etpan.org/libetpan.html"
11 TARBALL="$VERSION.tar.gz"
12 WGET_URL="https://github.com/dinhviethoa/libetpan/archive/$TARBALL"
14 DEPENDS="expat gcc-lib-base gnutls libcurl libdb libgnutls libsasl
15 openssl zlib"
16 BUILD_DEPENDS="autoconf automake expat-dev gnutls-dev libgnutls libtool"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./autogen.sh \
28 --with-openssl=no \
29 --with-gnutls=yes \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }