wok-next view dovecot/receipt @ rev 11398
Compat: squirrelmail trigger cook of squirrelmail-* only when using cookutils - I don't think this piece of code is needed at all as squirrel-* will be cooked anyway if one update them
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 13:19:00 2011 +0100 (2011-12-10) |
parents | |
children | e22fe60d6a2c |
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 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 make &&
30 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/lib $fs/usr
41 cp -a $install/etc $fs/
43 # Remove archive file *.*a
44 find $fs -name "*.*a" -exec rm -f {} \;
46 }