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

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"

inherit autotools 

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}
}