wok-6.x view pmail/receipt @ rev 24461
updated daloradius (0.9-9 -> 1.1-2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 16 17:15:55 2022 +0100 (2022-02-16) |
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 }