wok rev 9679

postfix: add mysql support.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri May 06 14:42:57 2011 +0200 (2011-05-06)
parents 3fc93ab80332
children 5b8f1cdabdd2
files postfix/receipt
line diff
     1.1 --- a/postfix/receipt	Wed May 04 16:48:46 2011 +0000
     1.2 +++ b/postfix/receipt	Fri May 06 14:42:57 2011 +0200
     1.3 @@ -8,8 +8,8 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WEB_SITE="http://www.postfix.org/"
     1.6  WGET_URL="ftp://ftp.cs.tu-berlin.de/pub/net/mail/postfix/official/$TARBALL"
     1.7 -BUILD_DEPENDS="db-dev openldap-dev pcre-dev openssl-dev perl"
     1.8 -DEPENDS="libdb libldap pcre openssl slitaz-base-files cyrus-sasl \
     1.9 +BUILD_DEPENDS="db-dev openldap-dev pcre-dev openssl-dev perl mysql-dev"
    1.10 +DEPENDS="libdb libldap pcre libssl slitaz-base-files libsasl \
    1.11  libkrb5 libcomerr3"
    1.12  CONFIG_FILES="/etc/postfix"
    1.13  
    1.14 @@ -19,12 +19,16 @@
    1.15  	cd $src
    1.16  	make makefiles \
    1.17  	CCARGS='-DHAS_DB -DHAS_LDAP \
    1.18 +		-DHAS_MYSQL -I/usr/include/mysql \
    1.19  		-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
    1.20  		-DDEF_MANPAGE_DIR=\"/usr/share/man\"' \
    1.21 -	AUXLIBS="-ldb -lldap -llber" &&
    1.22 +	AUXLIBS="-ldb -lldap -llber \
    1.23 +		-L/usr/lib/mysql -lmysqlclient -lz -lm " &&
    1.24  	make
    1.25  	install_root=$PWD/_pkg \
    1.26  		sh postfix-install -non-interactive
    1.27 +#	install_root=$install \
    1.28 +#		sh postfix-install -non-interactive
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.