summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libetpan/libetpan-0.33pre/includedir.patch0
-rw-r--r--libetpan/libetpan_0.33pre.oe16
2 files changed, 12 insertions, 4 deletions
diff --git a/libetpan/libetpan-0.33pre/includedir.patch b/libetpan/libetpan-0.33pre/includedir.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/libetpan/libetpan-0.33pre/includedir.patch
diff --git a/libetpan/libetpan_0.33pre.oe b/libetpan/libetpan_0.33pre.oe
index 6566cf1798..1b62ce33be 100644
--- a/libetpan/libetpan_0.33pre.oe
+++ b/libetpan/libetpan_0.33pre.oe
@@ -2,15 +2,23 @@ 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"
+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}/includedir.patch;patch=1;pnum=0"
inherit autotools libtool
EXTRA_OECONF = "--with-openssl=${STAGING_LIBDIR}/.. --disable-db"
do_stage() {
- oe_soinstall .libs/libetpan.so.1.0.0 ${STAGING_LIBDIR}/
+ 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}
+} \ No newline at end of file