wok-next view pmail/receipt @ rev 5194

Up: slitaz-base-files (3.2) Wok have now a 3.0 version string
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 15:43:04 2010 +0200 (2010-03-28)
parents
children 127223567b88
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.ibiblio.org/pub/Linux/system/mail/pop/"
10 WGET_URL="${WEB_SITE}$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 sed -i -e 's|BINDIR = @prefix@/bin|BINDIR = _pkg/usr/bin|' \
17 -e 's|MANDIR = @prefix@/man/man1|MANDIR = _pkg/usr/man/man1|' \
18 Makefile.in
19 mkdir -p _pkg/usr/bin _pkg/usr/man/man1
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }