wok view libetpan/receipt @ rev 25783

Up verbiste (0.1.49)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 24 13:23:01 2024 +0000 (6 weeks ago)
parents 5ea0ce1cecc0
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh \
29 --with-openssl=no \
30 --with-gnutls=yes \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }