summaryrefslogtreecommitdiff
path: root/recipes/bitchx
diff options
context:
space:
mode:
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
+}
+