summaryrefslogtreecommitdiff
path: root/recipes/bitchx
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/bitchx
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/bitchx')
-rw-r--r--recipes/bitchx/bitchx-1.1/gcc34.patch16
-rw-r--r--recipes/bitchx/bitchx_1.1.bb46
2 files changed, 62 insertions, 0 deletions
diff --git a/recipes/bitchx/bitchx-1.1/gcc34.patch b/recipes/bitchx/bitchx-1.1/gcc34.patch
new file mode 100644
index 0000000000..6ac37e0cc3
--- /dev/null
+++ b/recipes/bitchx/bitchx-1.1/gcc34.patch
@@ -0,0 +1,16 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- BitchX/source/term.c~gcc34
++++ BitchX/source/term.c
+@@ -92,7 +92,7 @@
+ #endif
+
+ extern char *getenv();
+-extern char *tparm();
++//extern char *tparm();
+
+ /*
+ * The old code assumed termcap. termcap is almost always present, but on
diff --git a/recipes/bitchx/bitchx_1.1.bb b/recipes/bitchx/bitchx_1.1.bb
new file mode 100644
index 0000000000..9fbeb08c35
--- /dev/null
+++ b/recipes/bitchx/bitchx_1.1.bb
@@ -0,0 +1,46 @@
+DESCRIPTION = "BitchX is a IRC client"
+SECTION = "console/network"
+
+LICENSE = "BSD"
+#PR = "-r1"
+
+SRC_URI = "http://bitchx.sourceforge.net/ircii-pana-${PV}-final.tar.gz \
+ file://gcc34.patch;patch=1"
+S = "${WORKDIR}/BitchX"
+
+inherit autotools
+
+PACKAGES += "${PN}-defmsgs ${PN}-help ${PN}-scripts ${PN}-translations"
+FILES_${PN}-defmsgs = "${libdir}/bx/BitchX.*"
+RDEPENDS_${PN}-defmsgs = "${PN}"
+FILES_${PN}-help = "${libdir}/bx/help"
+RDEPENDS_${PN}-help = "${PN}"
+FILES_${PN}-scripts = "${libdir}/bx/script"
+RDEPENDS_${PN}-scripts = "${PN}"
+FILES_${PN}-translations = "${libdir}/bx/translation"
+RDEPENDS_${PN}-translations = "${PN}"
+
+do_configure() {
+ gnu-configize
+ oe_runconf
+}
+
+do_install() {
+ oe_runmake install \
+ prefix=${D}${prefix} \
+ exec_prefix=${D}${exec_prefix} \
+ bindir=${D}${bindir} \
+ sbindir=${D}${sbindir} \
+ libexecdir=${D}${libexecdir} \
+ datadir=${D}${datadir} \
+ sysconfdir=${D}${sysconfdir} \
+ sharedstatedir=${D}${sharedstatedir} \
+ localstatedir=${D}${localstatedir} \
+ libdir=${D}${libdir} \
+ includedir=${D}${includedir} \
+ oldincludedir=${D}${oldincludedir} \
+ infodir=${D}${infodir} \
+ mandir=${D}${mandir}
+ ln -sf ./BitchX-1.1-final ${D}${bindir}/BitchX
+}
+