wok annotate masqmail/receipt @ rev 7629

evince: build doc
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 12 22:50:26 2010 +0100 (2010-12-12)
parents
children ad786a87b22e
rev   line source
pascal@5967 1 # SliTaz package receipt.
pascal@5967 2
pascal@5967 3 PACKAGE="masqmail"
pascal@5967 4 VERSION="0.2.28"
pascal@5967 5 CATEGORY="network"
pascal@5967 6 SHORT_DESC="An MTA for workstations and for servers in small networks."
pascal@5967 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5967 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@5967 9 WEB_SITE="http://marmaro.de/prog/masqmail"
pascal@5967 10 WGET_URL="$WEB_SITE/files/$TARBALL"
pascal@5967 11 BUILD_DEPENDS="pkg-config"
pascal@5967 12 TAGS="mail"
pascal@5967 13
pascal@5967 14 # Rules to configure and make the package.
pascal@5967 15 compile_rules()
pascal@5967 16 {
pascal@5967 17 cd $src
pascal@5967 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@5967 19 --with-user=root --with-group=root \
pascal@5967 20 --mandir=/usr/share/man \
pascal@5967 21 $CONFIGURE_ARGS &&
pascal@5967 22 make &&
pascal@5967 23 make DESTDIR=$PWD/_pkg install
pascal@5967 24 }
pascal@5967 25
pascal@5967 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5967 27 genpkg_rules()
pascal@5967 28 {
pascal@5967 29 mkdir -p $fs/usr/share
pascal@5967 30 cp -a $_pkg/usr/share/masqmail $fs/usr/share
pascal@5967 31 cp -a $_pkg/usr/bin $fs/usr
pascal@5967 32 cp -a $_pkg/usr/sbin $fs/usr
pascal@5967 33 cp -a $_pkg/etc $fs
pascal@5967 34 cp -a $_pkg/var $fs
pascal@5967 35 }