wok annotate pmail/receipt @ rev 17587

Up: patch 2.7.4
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 08 22:12:39 2015 +0000 (2015-02-08)
parents 127223567b88
children 42380dbaadb7
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@15375 8 LICENSE="GPL2"
pascal@2328 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2328 10 WEB_SITE="http://www.ibiblio.org/pub/Linux/system/mail/pop/"
pascal@2328 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@2328 12
pascal@2328 13 # Rules to configure and make the package.
pascal@2328 14 compile_rules()
pascal@2328 15 {
pascal@2328 16 cd $src
pascal@15375 17 sed -i -e "s|BINDIR = @prefix@/bin|BINDIR = $DESTDIR/usr/bin|" \
pascal@15375 18 -e "s|MANDIR = @prefix@/man/man1|MANDIR = $DESTDIR/usr/man/man1|" \
pascal@2328 19 Makefile.in
pascal@15375 20 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/man/man1
pascal@2328 21 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2328 22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@11902 23 make -j 1 &&
pascal@15375 24 make DESTDIR=$DESTDIR install
pascal@2328 25 }
pascal@2328 26
pascal@2328 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2328 28 genpkg_rules()
pascal@2328 29 {
pascal@2328 30 mkdir -p $fs/usr
pascal@15375 31 cp -a $install/usr/bin $fs/usr
pascal@2328 32 }
pascal@2328 33