summaryrefslogtreecommitdiff
path: root/packages/libetpan/libetpan_0.45.bb
blob: 4b7abede50db9c24a16f593213597c82697b4674 (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
DESCRIPTION = "libetpan is a library for communicating with mail and news servers. \
It supports the protocols SMTP, POP3, IMAP and NNTP."
HOMEPAGE = "http://www.etpan.org"
SECTION = "libs"
DEPENDS = "gnutls"
LICENSE = "BSD"
PR = "r0"

SRC_URI = "${SOURCEFORGE_MIRROR}/libetpan/libetpan-${PV}.tar.gz \
          file://etpan_suffix.patch;patch=1 \
	  file://mailstream.patch;patch=1 \
	  file://configure-pthreads.patch;patch=1 "

inherit autotools pkgconfig gettext

EXTRA_OECONF = "--without-openssl --with-gnutls --disable-db"
PARALLEL_MAKE = ""

do_stage() {
	oe_runmake install includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} bindir=${STAGING_BINDIR}
}

FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev = "${bindir} ${includedir} ${libdir}/lib*.so ${libdir}/*.la ${libdir}/*.a ${libdir}/pkgconfig"