[oe-commits] org.oe.dev ssmtp: Reformat .bb

nail commit openembedded-commits at lists.openembedded.org
Thu Sep 7 12:42:34 UTC 2006


ssmtp: Reformat .bb

Author: nail at nslu2-linux.org
Branch: org.openembedded.dev
Revision: 03a7d68c3436f6a990749305cdd36942d734f471
ViewMTN: http://monotone.openembedded.org/revision.psp?id=03a7d68c3436f6a990749305cdd36942d734f471
Files:
1
packages/ssmtp/ssmtp_2.61.bb
Diffs:

#
# mt diff -rdc38d27c852432ae554e806f1832f5112d0631fb -r03a7d68c3436f6a990749305cdd36942d734f471
#
# 
# 
# patch "packages/ssmtp/ssmtp_2.61.bb"
#  from [7c9e5677d1fda801c2e7245cb7a9ca472c9b3763]
#    to [f947f65cd08a005c7ee7d0a2203f70f032c09c90]
# 
============================================================
--- packages/ssmtp/ssmtp_2.61.bb	7c9e5677d1fda801c2e7245cb7a9ca472c9b3763
+++ packages/ssmtp/ssmtp_2.61.bb	f947f65cd08a005c7ee7d0a2203f70f032c09c90
@@ -9,32 +9,31 @@ SRC_URI = "${DEBIAN_MIRROR}/main/s/ssmtp
            file://ldflags.patch;patch=1 \
            file://configure.patch;patch=1 \
            file://libs-lcrypto.patch;patch=1 \
-           file://dont-strip.patch;patch=1 \
            file://ssmtp.conf"
-S = "${WORKDIR}/${PN}-2.61"
-LICENSE = "GPL"
-CONFFILES_${PN} = "${sysconfdir}/ssmtp/ssmtp.conf ${sysconfdir}/ssmtp/revaliases"
+S = "${WORKDIR}/${PN}-${PV}"
+
 inherit autotools
 
+CONFFILES_${PN} = "${sysconfdir}/ssmtp/ssmtp.conf ${sysconfdir}/ssmtp/revaliases"
 EXTRA_OECONF = "--enable-ssl"
+INHIBIT_AUTO_STAGE = "1"
+
 do_compile () {
-	oe_runmake 'LDFLAGS=${LDFLAGS}'
+        oe_runmake 'LDFLAGS=${LDFLAGS}'
 }
 
-INHIBIT_AUTO_STAGE = "1"
-
 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 ${WORKDIR}/ssmtp.conf ${D}${sysconfdir}/ssmtp/ssmtp.conf
+        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 ${WORKDIR}/ssmtp.conf ${D}${sysconfdir}/ssmtp/ssmtp.conf
 }
 
 pkg_postinst () {
-	update-alternatives --install ${sbindir}/sendmail sendmail ${bindir}/ssmtp 30
+        update-alternatives --install ${sbindir}/sendmail sendmail ${bindir}/ssmtp 30
 }
 
 pkg_postrm () {
-	update-alternatives --remove ${sbindir}/sendmail sendmail 
+        update-alternatives --remove ${sbindir}/sendmail sendmail 
 }






More information about the Openembedded-commits mailing list