diff options
author | Michael Lauer <mickey@vanille-media.de> | 2006-08-19 17:34:42 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2006-08-19 17:34:42 +0000 |
commit | 75470578abf41b1632fb7f6f8afac646f438b82f (patch) | |
tree | 887b768caeac0cb1ea0a074c860ec1be3c7b6bcf | |
parent | 74548169592daa787b2813602acfc624aa8d4828 (diff) |
tin: add 1.9.1, uses our libpcre now, no more patches necessary
-rw-r--r-- | packages/tin/files/.mtn2git_empty (renamed from packages/tin/tin-1.7.3/.mtn2git_empty) | 0 | ||||
-rw-r--r-- | packages/tin/files/configure.patch (renamed from packages/tin/tin-1.7.3/configure.patch) | 0 | ||||
-rw-r--r-- | packages/tin/files/m4.patch (renamed from packages/tin/tin-1.7.3/m4.patch) | 0 | ||||
-rw-r--r-- | packages/tin/files/makecfg-buildcc.patch (renamed from packages/tin/tin-1.7.3/makecfg-buildcc.patch) | 0 | ||||
-rw-r--r-- | packages/tin/tin_1.7.3.bb | 6 | ||||
-rw-r--r-- | packages/tin/tin_1.9.1.bb | 23 |
6 files changed, 27 insertions, 2 deletions
diff --git a/packages/tin/tin-1.7.3/.mtn2git_empty b/packages/tin/files/.mtn2git_empty index e69de29bb2..e69de29bb2 100644 --- a/packages/tin/tin-1.7.3/.mtn2git_empty +++ b/packages/tin/files/.mtn2git_empty diff --git a/packages/tin/tin-1.7.3/configure.patch b/packages/tin/files/configure.patch index 4059fe086f..4059fe086f 100644 --- a/packages/tin/tin-1.7.3/configure.patch +++ b/packages/tin/files/configure.patch diff --git a/packages/tin/tin-1.7.3/m4.patch b/packages/tin/files/m4.patch index 9277f6c1b3..9277f6c1b3 100644 --- a/packages/tin/tin-1.7.3/m4.patch +++ b/packages/tin/files/m4.patch diff --git a/packages/tin/tin-1.7.3/makecfg-buildcc.patch b/packages/tin/files/makecfg-buildcc.patch index 2b3dba44f9..2b3dba44f9 100644 --- a/packages/tin/tin-1.7.3/makecfg-buildcc.patch +++ b/packages/tin/files/makecfg-buildcc.patch diff --git a/packages/tin/tin_1.7.3.bb b/packages/tin/tin_1.7.3.bb index aff987a555..3383f74757 100644 --- a/packages/tin/tin_1.7.3.bb +++ b/packages/tin/tin_1.7.3.bb @@ -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 index 0000000000..560184f413 --- /dev/null +++ b/packages/tin/tin_1.9.1.bb @@ -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 +} |