wok-6.x annotate re-alpine/receipt @ rev 24348
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 02 18:01:43 2022 +0000 (2022-02-02) |
parents | 86790a278e70 |
children | ad0bc3efbf37 |
rev | line source |
---|---|
pascal@14379 | 1 # SliTaz package receipt. |
pascal@14379 | 2 |
pascal@14379 | 3 PACKAGE="re-alpine" |
pascal@14379 | 4 VERSION="2.03" |
pascal@14379 | 5 CATEGORY="network" |
pascal@14379 | 6 SHORT_DESC="Re-alpine is the continuation of Alpine (a text-based email client)." |
pascal@14379 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15590 | 8 LICENSE="Apache" |
pascal@14379 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@20421 | 10 WEB_SITE="https://sourceforge.net/projects/re-alpine/" |
pascal@14379 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@14379 | 12 TAGS="mail client" |
pascal@14379 | 13 |
pascal@15590 | 14 DEPENDS="libssl pam libldap libsasl ncurses libkrb5 libcomerr3" |
pascal@15590 | 15 BUILD_DEPENDS="openssl-dev pam-dev openldap-dev cyrus-sasl-dev libldap krb5-dev" |
pascal@15590 | 16 |
pascal@24348 | 17 # What is the latest version available today? |
pascal@24348 | 18 current_version() |
pascal@24348 | 19 { |
pascal@24348 | 20 wget -O - https://sourceforge.net/projects/re-alpine/files/ 2>/dev/null | \ |
pascal@24348 | 21 sed '/scope="row/!d;s|.*/re-alpine-||;s|.tar.*||;q' |
pascal@24348 | 22 } |
pascal@24348 | 23 |
pascal@14379 | 24 # Rules to configure and make the package. |
pascal@14379 | 25 compile_rules() |
pascal@14379 | 26 { |
pascal@14379 | 27 cd $src |
pascal@14381 | 28 touch libtoolT # configure wan't to remove it... |
pascal@14379 | 29 ./configure \ |
pascal@14379 | 30 --prefix=/usr \ |
pascal@14379 | 31 --mandir=/usr/share/man \ |
pascal@14379 | 32 --with-ssl-dir=/usr \ |
pascal@14379 | 33 $CONFIGURE_ARGS && |
pascal@14379 | 34 make && make install |
pascal@14379 | 35 } |
pascal@14379 | 36 |
pascal@14379 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14379 | 38 genpkg_rules() |
pascal@14379 | 39 { |
pascal@14379 | 40 mkdir -p $fs/usr |
pascal@14379 | 41 cp -a $install/usr/bin $fs/usr |
pascal@14379 | 42 } |
pascal@14379 | 43 |