wok-6.x view pmail/receipt @ rev 25460
Update sourceforge.net web_sites with https://
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 28 08:10:35 2022 +0000 (2022-09-28) |
parents | 42380dbaadb7 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="pmail"
4 VERSION="0.9.16"
5 CATEGORY="network"
6 SHORT_DESC="Mail transfer client based on the protocols of POP3 and SMTP."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.ibiblio.org/pub/Linux/system/mail/pop/"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - ${WGET_URL%/*} 2>/dev/null | \
17 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i -e "s|BINDIR = @prefix@/bin|BINDIR = $DESTDIR/usr/bin|" \
24 -e "s|MANDIR = @prefix@/man/man1|MANDIR = $DESTDIR/usr/share/man/man1|" \
25 Makefile.in
26 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
27 ./configure --prefix=/usr --infodir=/usr/share/info \
28 --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make -j 1 &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 }