diff options
Diffstat (limited to 'main/perdition/APKBUILD')
-rw-r--r-- | main/perdition/APKBUILD | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/main/perdition/APKBUILD b/main/perdition/APKBUILD new file mode 100644 index 0000000000..ca7c4a62aa --- /dev/null +++ b/main/perdition/APKBUILD @@ -0,0 +1,53 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=perdition +pkgver=1.18 +pkgrel=2 +pkgdesc="A Mail retrieval proxy" +url="http://horms.net/projects/perdition/" +arch="all" +license="LGPL" +depends= +depends_dev="gdbm-dev openssl-dev popt-dev vanessa_adt-dev vanessa_logger-dev + vanessa_socket-dev" +makedepends="$depends_dev" +install=$pkgname.post-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" |