wok annotate fetchmail/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 63fe29e9a1a3 |
children | 6b33f9da53d4 |
rev | line source |
---|---|
erjo@3669 | 1 # SliTaz package receipt. |
erjo@3669 | 2 |
erjo@3669 | 3 PACKAGE="fetchmail" |
Hans-G?nter@22755 | 4 VERSION="6.4.1" |
erjo@3669 | 5 CATEGORY="network" |
Hans-G?nter@22755 | 6 TAGS="email" |
Hans-G?nter@22755 | 7 SHORT_DESC="Mail retrieval and forwarding utility." |
erjo@3669 | 8 MAINTAINER="erjo@slitaz.org" |
pascal@15002 | 9 LICENSE="GPL2" |
pascal@21985 | 10 WEB_SITE="https://www.fetchmail.info/" |
Hans-G?nter@22755 | 11 |
Hans-G?nter@22755 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22755 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@22755 | 14 |
erjo@3669 | 15 HANDBOOK_URL="http://fetchmail.berlios.de/fetchmail-man.html" |
erjo@3669 | 16 |
pascal@15002 | 17 DEPENDS="openssl" |
pascal@15002 | 18 BUILD_DEPENDS="openssl-dev" |
pascal@15002 | 19 |
pascal@24385 | 20 # What is the latest version available today? |
pascal@24385 | 21 current_version() |
pascal@24385 | 22 { |
pascal@24385 | 23 wget -O - https://sourceforge.net/projects/fetchmail/files/ 2>/dev/null | \ |
pascal@24385 | 24 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24385 | 25 sed '/scope="row/!d;s|.*/fetchmail-||;s|.tar.*||;q' |
pascal@24385 | 26 } |
pascal@24385 | 27 |
erjo@3669 | 28 # Rules to configure and make the package. |
erjo@3669 | 29 compile_rules() |
erjo@3669 | 30 { |
Hans-G?nter@22755 | 31 ./configure \ |
Hans-G?nter@22755 | 32 --with-ssl \ |
erjo@3669 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@22755 | 34 make && |
Hans-G?nter@22755 | 35 make DESTDIR=$DESTDIR install |
erjo@3669 | 36 } |
erjo@3669 | 37 |
erjo@3669 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@3669 | 39 genpkg_rules() |
erjo@3669 | 40 { |
erjo@3669 | 41 mkdir -p $fs/usr |
Hans-G?nter@22755 | 42 cp -a $install/usr/bin $fs/usr |
erjo@3669 | 43 } |