summaryrefslogtreecommitdiff
path: root/tin/tin_1.7.3.oe
blob: 254704a2786c9cbfb037d8785d4e4a07d7d986bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SECTION="libs"
PRIORITY="optional"
RDEPENDS="libc6 libncurses5"
DEPENDS=virtual/libc ncurses

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
}