wok-6.x view pmail/receipt @ rev 4003

linux: ensure linux-source will have patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 31 17:17:44 2009 +0200 (2009-08-31)
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 }