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

freetype1-dev: move *a files to the correct path
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 16 15:42:01 2011 +0100 (2011-12-16)
parents e5b73f3c73d4
children b7319995b37e
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 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 }