summaryrefslogtreecommitdiffstats
path: root/main/libetpan/APKBUILD
blob: 6c542121232ba6a848beaad9623878bbb4382af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libetpan
pkgver=0.58
pkgrel=0
pkgdesc="a portable middleware for email access"
url="http://www.etpan.org/"
license="custom:etpan"
subpackages="$pkgname-dev $pkgname-doc"
makedepends="db-dev cyrus-sasl-dev curl-dev expat-dev"
depends=
depends_dev="cyrus-sasl-dev"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.gz"

build ()
{
	cd "$srcdir"/$pkgname-$pkgver
	sed -e 's/db-4.4/db-4.7/g' -i configure || return 1
	./configure --prefix=/usr \
		--disable-static

	make || return 1
	make DESTDIR="$pkgdir" install
	install -Dm644 COPYRIGHT "$pkgdir"/usr/share/licenses/$pkgname/license.txt
}
md5sums="bf20b5c0548f06b94bc588afdf5b3436  libetpan-0.58.tar.gz"