wok annotate 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 |
rev | line source |
---|---|
pascal@11220 | 1 # SliTaz package receipt. |
pascal@11220 | 2 |
pascal@11220 | 3 PACKAGE="dovecot" |
pascal@11220 | 4 VERSION="1.2.17" |
pascal@11220 | 5 CATEGORY="network" |
pascal@11220 | 6 SHORT_DESC="Dovecot IMAP and POP3 Server." |
pascal@11220 | 7 MAINTAINER="l.lemarinel@gmail.com" |
pascal@11220 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@11220 | 9 WEB_SITE="www.dovecot.org" |
pascal@11220 | 10 WGET_URL="http://www.dovecot.org/releases/1.2/$TARBALL" |
pascal@11220 | 11 BUILD_DEPENDS="openssl-dev libcap-dev openldap-dev \ |
gokhlayeh@11431 | 12 libmysqlclient mysql-dev sqlite-dev pam-dev postgresql-dev" |
pascal@11220 | 13 DEPENDS="libssl libcap" |
pascal@11220 | 14 |
pascal@11220 | 15 |
pascal@11220 | 16 # Rules to configure and make the package. |
pascal@11220 | 17 compile_rules() |
pascal@11220 | 18 { |
pascal@11220 | 19 cd $src |
pascal@11220 | 20 ./configure --prefix=/usr \ |
pascal@11220 | 21 --sysconfdir=/etc/dovecot \ |
pascal@11220 | 22 --libexecdir=/usr/lib/$PACKAGE \ |
pascal@11220 | 23 --with-ssl=openssl \ |
pascal@11220 | 24 --with-ldap=plugin \ |
pascal@11220 | 25 --with-sql=plugin \ |
pascal@11220 | 26 --with-mysql \ |
pascal@11220 | 27 --with-pgsql \ |
gokhlayeh@11573 | 28 --with-sqlite \ |
gokhlayeh@11573 | 29 $CONFIGURE_ARGS && |
pascal@11220 | 30 make && |
pascal@11220 | 31 make DESTDIR=$DESTDIR install |
pascal@11220 | 32 |
pascal@11220 | 33 } |
pascal@11220 | 34 |
pascal@11220 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 36 genpkg_rules() |
pascal@11220 | 37 { |
pascal@11220 | 38 mkdir -p $fs/usr/lib |
pascal@11220 | 39 |
pascal@11220 | 40 cp -a $install/usr/sbin $fs/usr |
pascal@11220 | 41 cp -a $install/usr/lib $fs/usr |
pascal@11220 | 42 cp -a $install/etc $fs/ |
pascal@11220 | 43 |
pascal@11220 | 44 # Remove archive file *.*a |
pascal@11220 | 45 find $fs -name "*.*a" -exec rm -f {} \; |
pascal@11220 | 46 |
pascal@11220 | 47 } |