summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/libetpan/APKBUILD39
1 files changed, 39 insertions, 0 deletions
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 <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+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"