summaryrefslogtreecommitdiff
path: root/libesmtp
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-01-23 08:18:42 +0000
committerChris Larson <clarson@kergoth.com>2004-01-23 08:18:42 +0000
commit0a11a28335b73a06f26379822ce88aae6f1f4954 (patch)
tree8351b0b432463d4162054c5691ae8e5adcdbda10 /libesmtp
parent9cab31775d14a06c80c354650d27855a1fdc92db (diff)
Packaging fixes, pass 2.
BKrev: 4010d8e2zRgIc2lz8zqu_17RxVRQ9g
Diffstat (limited to 'libesmtp')
-rw-r--r--libesmtp/libesmtp_1.0.1.oe24
1 files changed, 24 insertions, 0 deletions
diff --git a/libesmtp/libesmtp_1.0.1.oe b/libesmtp/libesmtp_1.0.1.oe
index e69de29bb2..c2716fec11 100644
--- a/libesmtp/libesmtp_1.0.1.oe
+++ b/libesmtp/libesmtp_1.0.1.oe
@@ -0,0 +1,24 @@
+DEPENDS = virtual/libc openssl
+RDEPENDS = libc6 openssl
+FILES_libesmtp_append = ' ${libdir}/esmtp-plugins'
+
+SRC_URI := http://www.stafford.uklinux.net/libesmtp/${P}.tar.bz2 \
+ file://${FILESDIR}/configure.patch;patch=1
+
+inherit autotools libtool
+
+EXTRA_OECONF = '--disable-isoc --with-openssl=${STAGING_DIR}/target'
+
+do_stage () {
+ install -m 0644 .libs/libesmtp.a ${STAGING_LIBDIR}/
+ install -m 0644 .libs/libesmtp.lai ${STAGING_LIBDIR}/libesmtp.la
+ install -m 0644 .libs/libesmtp.so.5.1.2 ${STAGING_LIBDIR}/
+ ln -sf libesmtp.so.5.1.2 ${STAGING_LIBDIR}/libesmtp.so.5
+ ln -sf libesmtp.so.5.1.2 ${STAGING_LIBDIR}/libesmtp.so
+
+ install -d ${STAGING_DIR}/include
+ install -m 644 auth-client.h ${STAGING_DIR}/target/include
+ install -m 644 auth-plugin.h ${STAGING_DIR}/target/include
+ install -m 644 libesmtp.h ${STAGING_DIR}/target/include
+}
+