wok diff masqmail/receipt @ rev 5967

Add masqmail
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 06 09:44:55 2010 +0200 (2010-08-06)
parents
children ad786a87b22e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/masqmail/receipt	Fri Aug 06 09:44:55 2010 +0200
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="masqmail"
     1.7 +VERSION="0.2.28"
     1.8 +CATEGORY="network"
     1.9 +SHORT_DESC="An MTA for workstations and for servers in small networks."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 +WEB_SITE="http://marmaro.de/prog/masqmail"
    1.13 +WGET_URL="$WEB_SITE/files/$TARBALL"
    1.14 +BUILD_DEPENDS="pkg-config"
    1.15 +TAGS="mail"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr --infodir=/usr/share/info \
    1.22 +	--with-user=root --with-group=root \
    1.23 +	--mandir=/usr/share/man \
    1.24 +	$CONFIGURE_ARGS &&
    1.25 +	make &&
    1.26 +	make DESTDIR=$PWD/_pkg install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	mkdir -p $fs/usr/share
    1.33 +	cp -a $_pkg/usr/share/masqmail $fs/usr/share
    1.34 +	cp -a $_pkg/usr/bin $fs/usr
    1.35 +	cp -a $_pkg/usr/sbin $fs/usr
    1.36 +	cp -a $_pkg/etc $fs
    1.37 +	cp -a $_pkg/var $fs
    1.38 +}