wok-6.x annotate 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 |
rev | line source |
---|---|
erjo@1265 | 1 # SliTaz package receipt. |
erjo@1265 | 2 |
erjo@1265 | 3 PACKAGE="libetpan" |
Hans-G?nter@23024 | 4 VERSION="1.9.4" |
pascal@1423 | 5 CATEGORY="misc" |
Hans-G?nter@22917 | 6 SHORT_DESC="Mail library." |
erjo@1265 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@15472 | 8 LICENSE="BSD" |
Hans-G?nter@22917 | 9 WEB_SITE="https://www.etpan.org/libetpan.html" |
Hans-G?nter@22917 | 10 |
mojo@20051 | 11 TARBALL="$VERSION.tar.gz" |
mojo@20051 | 12 WGET_URL="https://github.com/dinhviethoa/libetpan/archive/$TARBALL" |
erjo@1265 | 13 |
Hans-G?nter@23024 | 14 DEPENDS="expat gcc-lib-base gnutls libcurl libdb libgnutls libsasl |
Hans-G?nter@22917 | 15 openssl zlib" |
Hans-G?nter@22917 | 16 BUILD_DEPENDS="autoconf automake expat-dev gnutls-dev libgnutls libtool" |
pascal@15472 | 17 |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 21 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
erjo@1265 | 24 # Rules to configure and make the package. |
erjo@1265 | 25 compile_rules() |
erjo@1265 | 26 { |
Hans-G?nter@22917 | 27 ./autogen.sh \ |
Hans-G?nter@22917 | 28 --with-openssl=no \ |
Hans-G?nter@22917 | 29 --with-gnutls=yes \ |
mojo@20051 | 30 $CONFIGURE_ARGS && |
pascal@1777 | 31 make && |
pascal@15472 | 32 make DESTDIR=$DESTDIR install |
erjo@1265 | 33 } |
erjo@1265 | 34 |
erjo@1265 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1265 | 36 genpkg_rules() |
erjo@1265 | 37 { |
erjo@1265 | 38 mkdir -p $fs/usr/lib |
Hans-G?nter@22917 | 39 cp -a $install/usr/lib/*.so* $fs/usr/lib |
erjo@1265 | 40 } |