summaryrefslogtreecommitdiff
path: root/packages/tin/tin_1.7.3.bb
blob: aff987a555fbb0ff25c214828a629cbd19860e7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
DESCRIPTION = "Tin is a powerful text mode news reader."
SECTION = "console/network"
DEPENDS = "ncurses"
PR = "r1"
LICENSE = "GPL"
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 \
	   file://configure.patch;patch=1"

inherit autotools 

EXTRA_OECONF = "--with-screen=ncurses"

do_compile () {
        ${BUILD_CC} -DLINK_SIZE=2 -I${S}/include -c pcre/dftables.c
        ${BUILD_CC} dftables.o -o pcre/dftables
        oe_runmake build
}