tin: add 1.9.1, uses our libpcre now, no more patches necessary
authorMichael Lauer <mickey@vanille-media.de>
Sat, 19 Aug 2006 17:34:42 +0000 (17:34 +0000)
committerMichael Lauer <mickey@vanille-media.de>
Sat, 19 Aug 2006 17:34:42 +0000 (17:34 +0000)
packages/tin/files/.mtn2git_empty [moved from packages/tin/tin-1.7.3/.mtn2git_empty with 100% similarity]
packages/tin/files/configure.patch [moved from packages/tin/tin-1.7.3/configure.patch with 100% similarity]
packages/tin/files/m4.patch [moved from packages/tin/tin-1.7.3/m4.patch with 100% similarity]
packages/tin/files/makecfg-buildcc.patch [moved from packages/tin/tin-1.7.3/makecfg-buildcc.patch with 100% similarity]
packages/tin/tin_1.7.3.bb
packages/tin/tin_1.9.1.bb [new file with mode: 0644]

index aff987a..3383f74 100644 (file)
@@ -1,8 +1,9 @@
 DESCRIPTION = "Tin is a powerful text mode news reader."
 SECTION = "console/network"
 DEPENDS = "ncurses"
-PR = "r1"
 LICENSE = "GPL"
+PR = "r3"
+
 SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-${PV}.tar.gz \
           file://makecfg-buildcc.patch;patch=1 \
           file://m4.patch;patch=1 \
@@ -11,8 +12,9 @@ SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-${PV}.tar.gz \
 inherit autotools 
 
 EXTRA_OECONF = "--with-screen=ncurses"
+CFLAGS += "-DM_UNIX"
 
-do_compile () {
+do_compile() {
         ${BUILD_CC} -DLINK_SIZE=2 -I${S}/include -c pcre/dftables.c
         ${BUILD_CC} dftables.o -o pcre/dftables
         oe_runmake build
diff --git a/packages/tin/tin_1.9.1.bb b/packages/tin/tin_1.9.1.bb
new file mode 100644 (file)
index 0000000..560184f
--- /dev/null
@@ -0,0 +1,23 @@
+DESCRIPTION = "Tin is a powerful text mode news reader."
+SECTION = "console/network"
+DEPENDS = "ncurses pcre"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-${PV}.tar.gz \
+          file://m4.patch;patch=1"
+
+inherit autotools 
+
+PARALLEL_MAKE = ""
+EXTRA_OECONF = "--with-screen=ncurses --with-pcre=${STAGING_LIBDIR}/.."
+
+export BUILD_CFLAGS += "-I${S}/include -DHAVE_CONFIG_H"
+
+do_configure() {
+       oe_runconf
+}
+
+do_compile() {
+       cd src && oe_runmake
+}