From 88ca5e7b8d117bdceef3516d15a5e5b0b4b75eaf Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Fri, 17 Oct 2003 00:04:36 +0000 Subject: First pass at patches to update various packages to recent autotools (first pass is 'autoupdate' only). BKrev: 3f8f3214lGQ4WxIZ_n6VvkJ1pfUjcQ --- ssmtp/ssmtp-2.60.4/configure.patch | 0 ssmtp/ssmtp_2.60.4.oe | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 ssmtp/ssmtp-2.60.4/configure.patch (limited to 'ssmtp') diff --git a/ssmtp/ssmtp-2.60.4/configure.patch b/ssmtp/ssmtp-2.60.4/configure.patch new file mode 100644 index 0000000000..e69de29bb2 diff --git a/ssmtp/ssmtp_2.60.4.oe b/ssmtp/ssmtp_2.60.4.oe index e69de29bb2..c173629dff 100644 --- a/ssmtp/ssmtp_2.60.4.oe +++ b/ssmtp/ssmtp_2.60.4.oe @@ -0,0 +1,22 @@ +DEPENDS = virtual/libc openssl +RDEPENDS = libc6 libssl + +SRC_URI := ${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_2.60.4.tar.gz \ + file://${FILESDIR}/ldflags.patch;patch=1 \ + file://${FILESDIR}/configure.patch;patch=1 +S := ${WORKDIR}/${PN}-2.60 + +inherit autotools + +EXTRA_OECONF = --enable-ssl +do_compile () { + oe_runmake 'LDFLAGS=${LDFLAGS}' +} + +do_install () { + oe_runmake 'prefix=${D}/${prefix}' 'exec_prefix=${D}/${exec_prefix}' \ + 'bindir=${D}/${bindir}' 'mandir=${D}/${mandir}' \ + 'etcdir=${D}/${sysconfdir}' GEN_CONFIG="`which echo`" install + install -d ${D}/${sysconfdir}/ssmtp + install -m 0644 ${FILESDIR}/ssmtp.conf ${D}/${sysconfdir}/ssmtp/ssmtp.conf +} -- cgit v1.2.3