wok-next diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dovecot/receipt Thu Dec 15 10:43:50 2011 +0100 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="dovecot" 1.7 +VERSION="1.2.17" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Dovecot IMAP and POP3 Server." 1.10 +MAINTAINER="l.lemarinel@gmail.com" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="www.dovecot.org" 1.13 +WGET_URL="http://www.dovecot.org/releases/1.2/$TARBALL" 1.14 +BUILD_DEPENDS="openssl-dev libcap-dev openldap-dev \ 1.15 + mysql-dev sqlite-dev pam-dev postgresql-dev" 1.16 +DEPENDS="libssl libcap" 1.17 + 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + cd $src 1.23 + ./configure --prefix=/usr \ 1.24 + --sysconfdir=/etc/dovecot \ 1.25 + --libexecdir=/usr/lib/$PACKAGE \ 1.26 + --with-ssl=openssl \ 1.27 + --with-ldap=plugin \ 1.28 + --with-sql=plugin \ 1.29 + --with-mysql \ 1.30 + --with-pgsql \ 1.31 + --with-sqlite && 1.32 + make && 1.33 + make DESTDIR=$DESTDIR install 1.34 + 1.35 +} 1.36 + 1.37 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.38 +genpkg_rules() 1.39 +{ 1.40 + mkdir -p $fs/usr/lib 1.41 + 1.42 + cp -a $install/usr/sbin $fs/usr 1.43 + cp -a $install/usr/lib $fs/usr 1.44 + cp -a $install/etc $fs/ 1.45 + 1.46 + # Remove archive file *.*a 1.47 + find $fs -name "*.*a" -exec rm -f {} \; 1.48 + 1.49 +}