wok-current annotate pmail/receipt @ rev 10449

aufs-utils: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 25 10:20:38 2011 +0200 (2011-05-25)
parents
children 127223567b88
rev   line source
pascal@2328 1 # SliTaz package receipt.
pascal@2328 2
pascal@2328 3 PACKAGE="pmail"
pascal@2328 4 VERSION="0.9.16"
pascal@2328 5 CATEGORY="network"
pascal@2328 6 SHORT_DESC="Mail transfer client based on the protocols of POP3 and SMTP."
pascal@2328 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2328 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2328 9 WEB_SITE="http://www.ibiblio.org/pub/Linux/system/mail/pop/"
pascal@2328 10 WGET_URL="${WEB_SITE}$TARBALL"
pascal@2328 11
pascal@2328 12 # Rules to configure and make the package.
pascal@2328 13 compile_rules()
pascal@2328 14 {
pascal@2328 15 cd $src
pascal@2328 16 sed -i -e 's|BINDIR = @prefix@/bin|BINDIR = _pkg/usr/bin|' \
pascal@2328 17 -e 's|MANDIR = @prefix@/man/man1|MANDIR = _pkg/usr/man/man1|' \
pascal@2328 18 Makefile.in
pascal@2328 19 mkdir -p _pkg/usr/bin _pkg/usr/man/man1
pascal@2328 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2328 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2328 22 make &&
pascal@2328 23 make DESTDIR=$PWD/_pkg install
pascal@2328 24 }
pascal@2328 25
pascal@2328 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2328 27 genpkg_rules()
pascal@2328 28 {
pascal@2328 29 mkdir -p $fs/usr
pascal@2328 30 cp -a $_pkg/usr/bin $fs/usr
pascal@2328 31 }
pascal@2328 32