summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/tin/tin_1.7.3.bb11
-rw-r--r--packages/tin/tin_1.9.1.bb11
2 files changed, 6 insertions, 16 deletions
diff --git a/packages/tin/tin_1.7.3.bb b/packages/tin/tin_1.7.3.bb
index 58726d7a27..199011e5a6 100644
--- a/packages/tin/tin_1.7.3.bb
+++ b/packages/tin/tin_1.7.3.bb
@@ -1,17 +1,12 @@
-DESCRIPTION = "Tin is a powerful text mode news reader."
-SECTION = "console/network"
-DEPENDS = "ncurses"
-LICENSE = "GPL"
+require tin.inc
+
PR = "r3"
-SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-${PV}.tar.gz \
+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"
CFLAGS += "-DM_UNIX"
do_compile() {
diff --git a/packages/tin/tin_1.9.1.bb b/packages/tin/tin_1.9.1.bb
index dcf53bd8b5..2b783b2a58 100644
--- a/packages/tin/tin_1.9.1.bb
+++ b/packages/tin/tin_1.9.1.bb
@@ -1,16 +1,11 @@
-DESCRIPTION = "Tin is a powerful text mode news reader."
-SECTION = "console/network"
-DEPENDS = "ncurses pcre"
-LICENSE = "GPL"
+require tin.inc
+
PR = "r0"
-SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-${PV}.tar.gz \
+SRC_URI = "ftp://ftp.tin.org/pub/news/clients/tin/v1.9/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"