1 DEPENDS = "virtual/libc openssl"
2 RDEPENDS = "libc6 libssl"
4 SRC_URI := ${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_2.60.4.tar.gz \
5 file://${FILESDIR}/ldflags.patch;patch=1 \
6 file://${FILESDIR}/configure.patch;patch=1
7 S := ${WORKDIR}/${PN}-2.60
11 EXTRA_OECONF = --enable-ssl
13 oe_runmake 'LDFLAGS=${LDFLAGS}'
17 oe_runmake 'prefix=${D}/${prefix}' 'exec_prefix=${D}/${exec_prefix}' \
18 'bindir=${D}/${bindir}' 'mandir=${D}/${mandir}' \
19 'etcdir=${D}/${sysconfdir}' GEN_CONFIG="`which echo`" install
20 install -d ${D}/${sysconfdir}/ssmtp
21 install -m 0644 ${FILESDIR}/ssmtp.conf ${D}/${sysconfdir}/ssmtp/ssmtp.conf