wok-next annotate dovecot/receipt @ rev 11428
Add: snort-mysql
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 15 10:43:50 2011 +0100 (2011-12-15) |
parents | |
children | e22fe60d6a2c |
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 \ |
pascal@11220 | 12 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 \ |
pascal@11220 | 28 --with-sqlite && |
pascal@11220 | 29 make && |
pascal@11220 | 30 make DESTDIR=$DESTDIR install |
pascal@11220 | 31 |
pascal@11220 | 32 } |
pascal@11220 | 33 |
pascal@11220 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11220 | 35 genpkg_rules() |
pascal@11220 | 36 { |
pascal@11220 | 37 mkdir -p $fs/usr/lib |
pascal@11220 | 38 |
pascal@11220 | 39 cp -a $install/usr/sbin $fs/usr |
pascal@11220 | 40 cp -a $install/usr/lib $fs/usr |
pascal@11220 | 41 cp -a $install/etc $fs/ |
pascal@11220 | 42 |
pascal@11220 | 43 # Remove archive file *.*a |
pascal@11220 | 44 find $fs -name "*.*a" -exec rm -f {} \; |
pascal@11220 | 45 |
pascal@11220 | 46 } |