blob: a3e6773eec1ecdd40c7777516bf4ce425e403319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
inherit autotools
DESCRIPTION = "GNU termcap is a library of C functions that enables programs \
to send control strings to terminals in a terminal type-independent manner"
HOMEPAGE = "http://freshmeat.net/projects/termcap/"
LICENSE = "GPLv2"
DEPENDS = ""
PE = "1"
PR = "1"
SRC_URI = "${GNU_MIRROR}/termcap/termcap-${PV}.tar.gz"
SRC_URI[md5sum] = "ffe6f86e63a3a29fa53ac645faaabdfa"
SRC_URI[sha256sum] = "91a0e22e5387ca4467b5bcb18edf1c51b930262fd466d5fda396dd9d26719100"
EXTRA_OECONF += "\
--disable-install-termcap \
--with-termcap=${sysconfdir}/termcap \
"
EXTRA_OEMAKE += "\
'AR=${AR}' \
'CFLAGS=${CFLAGS}' \
"
do_install () {
install -d ${D}${sysconfdir}
oe_runmake install \
'libdir=${D}${libdir}' \
'includedir=${D}${includedir}' \
'infodir=${D}${infodir}' \
'termcapfile=${D}${sysconfdir}/termcap' \
'oldincludedir='
}
NATIVE_INSTALL_WORKS = "1"
BBCLASSEXTEND += "native nativesdk"
|