summaryrefslogblamecommitdiff
path: root/user/libetpan/APKBUILD
blob: 3ccfa2679d4946013d4fdc4d2e010c0a0780eabb (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                  
            





                                         

                                                                      
                          


                                                                                               

         










                                         



                  


                                      
                                                                                                                                                                   
                                                                                                                                                       
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libetpan
pkgver=1.9.4
pkgrel=0
pkgdesc="Mail library for C"
url="https://www.etpan.org/libetpan.html"
arch="all"
license="BSD-3-Clause"
depends=""
makedepends="autoconf automake cyrus-sasl-dev db-dev expat-dev libtool
	openssl-dev zlib-dev"
subpackages="$pkgname-dev"
source="libetpan-$pkgver.tar.gz::https://github.com/dinhviethoa/libetpan/archive/$pkgver.tar.gz
	missing-header.patch
	"

build() {
	./autogen.sh \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="7b7047d084fb4ce0c91821c2ad78e921d6d009106851afb7f5b068713c84ebe6926f6bf7a7423f263eeebef617511e44f6b65448d892bbc058c447235fd55c0f  libetpan-1.9.4.tar.gz
df0ba883c9328b7cab408a54f38e6f9c7f5f603b0f016b7ea2e9fa49aa4118ff6723218bb9942f278028291e1c7e9da0bb1d48ab2c471b0ddf5edc3e78a8a1df  missing-header.patch"