summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 14:51:15 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-01-04 14:51:15 +0000
commit3f73a1d98770908d59dcd77dde452744f53f4c24 (patch)
tree315d322896e0685aec9aab4dcca7130179d1a801
parentc67f3155451ad9d521adda8a3f1b037a7383cbad (diff)
tin: added tin.inc
-rw-r--r--packages/tin/tin.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/packages/tin/tin.inc b/packages/tin/tin.inc
new file mode 100644
index 0000000000..6175728ea7
--- /dev/null
+++ b/packages/tin/tin.inc
@@ -0,0 +1,21 @@
+DESCRIPTION = "Tin is a powerful text mode news reader."
+SECTION = "console/network"
+DEPENDS = "ncurses"
+LICENSE = "GPL"
+PR = "r3"
+
+SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/v1.7/tin-${PV}.tar.gz \
+ file://makecfg-buildcc.patch;patch=1 \
+ file://m4.patch;patch=1 \
+ file://configure.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-screen=ncurses --with-pcre=${STAGING_LIBDIR}/.."
+CFLAGS += "-DM_UNIX"
+
+do_compile() {
+ ${BUILD_CC} -DLINK_SIZE=2 -I${S}/include -c pcre/dftables.c
+ ${BUILD_CC} dftables.o -o pcre/dftables
+ oe_runmake build
+}