wok-current annotate masqmail/receipt @ rev 12984
slitaz-base-files: add /run
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 02 16:06:04 2012 +0200 (2012-06-02) |
parents | 883b1b954136 |
children | 380ffe05937a |
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@8938 | 11 BUILD_DEPENDS="pkg-config glib glib-dev" |
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 } |