summaryrefslogtreecommitdiff
path: root/user/libetpan/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-29 07:29:17 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-29 07:29:17 +0000
commit8bbc49b4ec0e6ed3d2635d5e274f7cda135c7682 (patch)
tree8a731addf26e93223df3f5b9fbc83f3122136948 /user/libetpan/APKBUILD
parente09363e4ea93c78bd89d814b7b00017bcc298921 (diff)
downloadpackages-8bbc49b4ec0e6ed3d2635d5e274f7cda135c7682.tar.gz
packages-8bbc49b4ec0e6ed3d2635d5e274f7cda135c7682.tar.bz2
packages-8bbc49b4ec0e6ed3d2635d5e274f7cda135c7682.tar.xz
packages-8bbc49b4ec0e6ed3d2635d5e274f7cda135c7682.zip
user/libetpan: new package
Diffstat (limited to 'user/libetpan/APKBUILD')
-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"