wok-6.x view libetpan/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
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 }