summaryrefslogtreecommitdiff
path: root/libetpan/libetpan_0.33pre.oe
blob: 95365d82d738b01c6248958a59ab5f4824e134b1 (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 = "virtual/libc 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://${FILESDIR}/mailstream_socket.patch;patch=1 \
           file://${FILESDIR}/smtptls.patch;patch=1" \
           file://${FILESDIR}/config_iconv.patch;patch=1" \
           file://${FILESDIR}/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}
}