summaryrefslogtreecommitdiff
path: root/recipes/nail
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
committerDenys Dmytriyenko <denis@denix.org>2009-03-17 14:32:59 -0400
commit709c4d66e0b107ca606941b988bad717c0b45d9b (patch)
tree37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/nail
parentfa6cd5a3b993f16c27de4ff82b42684516d433ba (diff)
rename packages/ to recipes/ per earlier agreement
See links below for more details: http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326 http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816 Signed-off-by: Denys Dmytriyenko <denis@denix.org> Acked-by: Mike Westerhof <mwester@dls.net> Acked-by: Philip Balister <philip@balister.org> Acked-by: Khem Raj <raj.khem@gmail.com> Acked-by: Marcin Juszkiewicz <hrw@openembedded.org> Acked-by: Koen Kooi <koen@openembedded.org> Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/nail')
-rw-r--r--recipes/nail/files/nail.spec.diff11
-rw-r--r--recipes/nail/nail_11.21.bb26
2 files changed, 37 insertions, 0 deletions
diff --git a/recipes/nail/files/nail.spec.diff b/recipes/nail/files/nail.spec.diff
new file mode 100644
index 0000000000..2d8bd0704f
--- /dev/null
+++ b/recipes/nail/files/nail.spec.diff
@@ -0,0 +1,11 @@
+--- nail-11.21/nail.spec.orig 2005-08-11 16:57:23.893061048 +0200
++++ nail-11.21/nail.spec 2005-08-11 16:57:35.244335392 +0200
+@@ -38,7 +38,7 @@
+ %define sysconfdir /etc
+ %define mailrc %{sysconfdir}/nail.rc
+ %define mailspool /var/mail
+-%define sendmail /usr/lib/sendmail
++%define sendmail /usr/sbin/sendmail
+ %define ucbinstall install
+ %define cflags -O2 -fomit-frame-pointer
+ %define cppflags -D_GNU_SOURCE
diff --git a/recipes/nail/nail_11.21.bb b/recipes/nail/nail_11.21.bb
new file mode 100644
index 0000000000..9fa59ada55
--- /dev/null
+++ b/recipes/nail/nail_11.21.bb
@@ -0,0 +1,26 @@
+DESCRIPTION = "Enhanced mailx client."
+SECTION = "console/network"
+PRIORITY = "optional"
+DEPENDS = "openssl"
+PR = "r2"
+LICENSE = "GPL"
+
+SRC_URI = "http://optusnet.dl.sourceforge.net/sourceforge/nail/nail-11.21.tar.bz2 \
+ file://nail.spec.diff;patch=1"
+
+S = "${WORKDIR}/nail-11.21/"
+
+inherit autotools
+
+# EXTRA_OECONF = "ac_cv_func_setpgrp_void=yes"
+
+INHIBIT_AUTO_STAGE = "1"
+
+do_install() {
+ install -d ${D}${bindir} ${D}${mandir} ${D}${sysconfdir}
+ install -m 0755 ${S}nail ${D}${bindir}/nail
+ install -m 0644 ${S}nail.1 ${D}${mandir}/nail.1
+ install -m 0644 ${S}nail.rc ${D}${sysconfdir}/nail.rc
+}
+
+CONFFILES_${PN} = "${sysconfdir}/nail.rc"