wok view dovecot/receipt @ rev 11404

Up: psycopg2 to 2.4.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Dec 10 20:55:45 2011 +0000 (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 }