From 13a20d9273361bc5d080beb3a4988d3f1f2219d5 Mon Sep 17 00:00:00 2001 From: "erich@mine.nu" Date: Sun, 11 Apr 2004 03:01:56 +0000 Subject: Fixed various problems with libetpan (staging, do_install, added depend on gettext-native). If you get error in do_patch, delete cached copy of libetpan* and restart oebuild. BKrev: 4078b524ykBzgMsU-qYH1TPS28FGEg --- libetpan/libetpan-0.33pre/includedir.patch | 0 libetpan/libetpan_0.33pre.oe | 16 ++++++++++++---- 2 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 libetpan/libetpan-0.33pre/includedir.patch diff --git a/libetpan/libetpan-0.33pre/includedir.patch b/libetpan/libetpan-0.33pre/includedir.patch new file mode 100644 index 0000000000..e69de29bb2 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 -- cgit v1.2.3