APKBUILD 1.14 KB
Newer Older
Leonardo Arena's avatar
Leonardo Arena committed
1 2 3
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=perdition
pkgver=1.18
4
pkgrel=1
Leonardo Arena's avatar
Leonardo Arena committed
5 6 7
pkgdesc="A Mail retrieval proxy"
url="http://horms.net/projects/perdition/"
arch="all"
8
license="LGPL"
Leonardo Arena's avatar
Leonardo Arena committed
9
depends=
10 11
depends_dev="gdbm-dev openssl-dev popt-dev vanessa_adt-dev vanessa_logger-dev 
	vanessa_socket-dev"
Leonardo Arena's avatar
Leonardo Arena committed
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53
makedepends="$depends_dev"
install=
subpackages="$pkgname-doc"
source="http://horms.net/projects/perdition/download/$pkgver/$pkgname-$pkgver.tar.bz2"


_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	return 0
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-libtool-lock \
		--disable-mysql \
		--disable-odbc \
		--disable-db \
		--disable-pg \
		--disable-cdb \
		--disable-nis \
		--disable-posix-regex \
		--disable-ldap \
		--disable-daemon-map

	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install

	install -m755 -D ../../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
	install -m644 -D ../../$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
}

md5sums="df84d5fc4ab78b94a9baf17c5790ba38  perdition-1.18.tar.bz2"