From 8bbc49b4ec0e6ed3d2635d5e274f7cda135c7682 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sat, 29 Dec 2018 07:29:17 +0000 Subject: user/libetpan: new package --- user/libetpan/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 user/libetpan/APKBUILD diff --git a/user/libetpan/APKBUILD b/user/libetpan/APKBUILD new file mode 100644 index 000000000..386ec21e5 --- /dev/null +++ b/user/libetpan/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: A. Wilcox +# Maintainer: A. Wilcox +pkgname=libetpan +pkgver=1.9.2 +pkgrel=0 +pkgdesc="Mail library for C" +url="https://www.etpan.org/libetpan.html" +arch="all" +license="BSD-3-Clause" +depends="" +depends_dev="" +makedepends="$depends_dev autoconf automake libtool + cyrus-sasl-dev db-dev expat-dev openssl-dev zlib-dev" +subpackages="$pkgname-dev" +source="libetpan-$pkgver.tar.gz::https://github.com/dinhviethoa/libetpan/archive/$pkgver.tar.gz" + +build() { + cd "$builddir" + ./autogen.sh \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install +} + +sha512sums="3e2e1de77fae2212374e909d15ed8564eee90883c38fee0ca69f58785733b1ac2df848da1bda6f55577d647e0ad27bc3057199e70b6ef01f2a7e2823b24113ba libetpan-1.9.2.tar.gz" -- cgit v1.2.3-70-g09d2