summaryrefslogtreecommitdiffstats
path: root/extra/dovecot/APKBUILD
blob: c4ec937f2f6f090ebcffc96a3c8a63482d7ae93b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: 
pkgname=dovecot
pkgver=1.1.11
pkgrel=0
pkgdesc="IMAP and POP3 server"
url="http://www.dovecot.org/"
license="GPL"
depends="uclibc libcap zlib"
makedepends="libcap-dev zlib-dev"
install="dovecot.install"
subpackages="$pkgname-doc $pkgname-dev"
source="http://www.dovecot.org/releases/1.1/$pkgname-$pkgver.tar.gz
	dovecot.initd
	$install
	"

build() {
	cd "$srcdir/$pkgname-$pkgver"

	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--with-pop3d 
	make || return 1
	make DESTDIR="$pkgdir" install

	# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}

md5sums="c973eb41aca79fb16630a16f0d84f765  dovecot-1.1.11.tar.gz
ca3f9a2d8a75609b1edfa55f2709f598  dovecot.initd
766fcfe110ce0be9c416e669b08349b6  dovecot.install"