Files
haikuports/net-mail/dovecot/dovecot-2.2.15.recipe
2016-01-03 08:28:00 +00:00

64 lines
1.6 KiB
Bash

SUMMARY="An open source IMAP and POP3 email server"
DESCRIPTION="Dovecot is an open source IMAP and POP3 email server \
for Linux/UNIX-like systems, written with security primarily in mind. \
Dovecot is an excellent choice for both small and large installations. \
It's fast, simple to set up, requires no special administration and it \
uses very little memory."
HOMEPAGE="http://dovecot.org/"
LICENSE="MIT"
COPYRIGHT="2002-2014 Timo Sirainen"
REVISION="1"
SOURCE_URI="http://dovecot.org/releases/2.2/dovecot-2.2.15.tar.gz"
CHECKSUM_SHA256="d10e7769e2367d635c93fd6589efdd05f2e3acf13c7911a40167faedf23c399f"
PATCHES="dovecot-2.2.15.patchset"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
dovecot$secondaryArchSuffix = $portVersion
cmd:doveadm$secondaryArchSuffix = $portVersion
cmd:doveconf$secondaryArchSuffix = $portVersion
cmd:dovecot$secondaryArchSuffix = $portVersion
cmd:dsync$secondaryArchSuffix = $portVersion
lib:libdovecot$secondaryArchSuffix = $portVersion
lib:libdovecot_storage$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libz$secondaryArchSuffix
lib:libdovecot$secondaryArchSuffix
lib:libdovecot_storage$secondaryArchSuffix
"
BUILD_REQUIRES="
devel:libz$secondaryArchSuffix
devel:liblz4$secondaryArchSuffix
"
BUILD_PREREQUIRES="
haiku${secondaryArchSuffix}_devel
cmd:gcc$secondaryArchSuffix
cmd:ld
cmd:make
cmd:find
cmd:awk
"
GLOBAL_WRITABLE_FILES="
settings/dovecot/README auto-merge
"
USER_SETTINGS_FILES="
settings/dovecot directory manual
"
BUILD()
{
CFLAGS=-D_BSD_SOURCE runConfigure ./configure --libexecdir=$libDir/libexec
make
}
INSTALL()
{
make install
}