summaryrefslogtreecommitdiff
path: root/libetpan/libetpan_0.33pre.oe
blob: 5d06d7909ce7fae9aa2abf7b03001d2e1b246664 (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
26
27
28
DESCRIPTION = "libetpan is a library for mail server functions"
SECTION = "libs"
DEPENDS = "openssl"
PR = "r2"
FILES_${PN} = "${libdir}/lib*.so.*"
FILES_${PN}-dev = "${bindir} ${includedir} ${libdir}/lib*.so ${libdir}/*.la \
                ${libdir}/*.a ${libdir}/pkgconfig"

SRC_URI = "http://www.alwins-world.de/oe/libetpan-${PV}.tar.bz2  \
	   file://mailstream_socket.patch;patch=1 \
           file://smtptls.patch;patch=1" \
           file://config_iconv.patch;patch=1" \
           file://includedir.patch;patch=1;pnum=0 \
           file://pkgconfig.patch;patch=1 \
           file://gcc34.patch;patch=1"

inherit autotools pkgconfig

EXTRA_OECONF = "--with-openssl=${STAGING_LIBDIR}/.. --disable-db --prefix=${TARGET_DIR}"

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

do_install() {
    oe_runmake install includedir=${D}/${includedir} libdir=${D}/${libdir} bindir=${D}/${bindir}
}