wok annotate pmail/receipt @ rev 8553
imported patch get/firefox-langpack-fr
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 22:57:56 2011 +0100 (2011-02-13) |
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 |