wok-6.x view dovecot/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents e22fe60d6a2c
children d635a5200162
line source
1 # SliTaz package receipt.
3 PACKAGE="dovecot"
4 VERSION="1.2.17"
5 CATEGORY="network"
6 SHORT_DESC="Dovecot IMAP and POP3 Server."
7 MAINTAINER="l.lemarinel@gmail.com"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="www.dovecot.org"
10 WGET_URL="http://www.dovecot.org/releases/1.2/$TARBALL"
11 BUILD_DEPENDS="openssl-dev libcap-dev openldap-dev \
12 libmysqlclient mysql-dev sqlite-dev pam-dev postgresql-dev"
13 DEPENDS="libssl libcap"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc/dovecot \
22 --libexecdir=/usr/lib/$PACKAGE \
23 --with-ssl=openssl \
24 --with-ldap=plugin \
25 --with-sql=plugin \
26 --with-mysql \
27 --with-pgsql \
28 --with-sqlite \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/lib $fs/usr
42 cp -a $install/etc $fs/
44 # Remove archive file *.*a
45 find $fs -name "*.*a" -exec rm -f {} \;
47 }