[oe-commits] org.oe.dev tin: add 1.9.1, uses our libpcre now, no more patches necessary

mickeyl commit openembedded-commits at lists.openembedded.org
Wed Aug 23 19:25:25 UTC 2006


tin: add 1.9.1, uses our libpcre now, no more patches necessary

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 2694ea866aead6f6639b0c69c13127c90f95e5ff
ViewMTN: http://monotone.openembedded.org/revision.psp?id=2694ea866aead6f6639b0c69c13127c90f95e5ff
Files:
1
packages/tin/tin-1.7.3
packages/tin/files
packages/tin/tin_1.9.1.bb
packages/tin/tin_1.7.3.bb
Diffs:

#
# mt diff -rcb591f5b883733fa2368b93267c8b93a727fa2c7 -r2694ea866aead6f6639b0c69c13127c90f95e5ff
#
# 
# 
# rename "packages/tin/tin-1.7.3"
#     to "packages/tin/files"
# 
# add_file "packages/tin/tin_1.9.1.bb"
#  content [b5eb03e42f4135b583063c148b0db65812084c2b]
# 
# patch "packages/tin/tin_1.7.3.bb"
#  from [cb502d8ce274d7da0201bea8e813177dbc75820f]
#    to [eef42a3f623f86370bc080af9e748d654a003598]
# 
============================================================
--- packages/tin/tin_1.9.1.bb	b5eb03e42f4135b583063c148b0db65812084c2b
+++ packages/tin/tin_1.9.1.bb	b5eb03e42f4135b583063c148b0db65812084c2b
@@ -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
+}
============================================================
--- packages/tin/tin_1.7.3.bb	cb502d8ce274d7da0201bea8e813177dbc75820f
+++ packages/tin/tin_1.7.3.bb	eef42a3f623f86370bc080af9e748d654a003598
@@ -1,8 +1,9 @@ DEPENDS = "ncurses"
 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 @@ EXTRA_OECONF = "--with-screen=ncurses"
 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






More information about the Openembedded-commits mailing list