summaryrefslogtreecommitdiff
path: root/tin/tin_1.7.3.oe
blob: 431366d61b3458ff1d0c733dd1f90fb30991d22d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
RDEPENDS = "libc6 libncurses5"
DEPENDS = "virtual/libc ncurses"
DESCRIPTION = "Tin is a powerful text mode news reader."

SRC_URI=ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-${PV}.tar.gz \
	file://${FILESDIR}/makecfg-buildcc.patch;patch=1 \
	file://${FILESDIR}/m4.patch;patch=1 \
	file://${FILESDIR}/configure.patch;patch=1

inherit autotools libtool

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
}