wok-6.x view masqmail/receipt @ rev 10255

Add rake.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 04:00:00 2011 +0000 (2011-05-21)
parents 883b1b954136
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="masqmail"
4 VERSION="0.2.28"
5 CATEGORY="network"
6 SHORT_DESC="An MTA for workstations and for servers in small networks."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://marmaro.de/prog/masqmail"
10 WGET_URL="$WEB_SITE/files/$TARBALL"
11 BUILD_DEPENDS="pkg-config glib glib-dev"
12 TAGS="mail"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --with-user=root --with-group=root \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share
30 cp -a $_pkg/usr/share/masqmail $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/etc $fs
34 cp -a $_pkg/var $fs
35 }