summaryrefslogblamecommitdiff
path: root/user/libetpan/APKBUILD
blob: 386ec21e5992581d42d449a745f9d6ac5af0eba0 (plain) (tree)






































                                                                                                                                                                    
# 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"