3ec744a17294479efc2f07310134a7f714bc9e9e
[vuplus_openembedded] / man / man_1.5m2.oe
1 DEPENDS = "virtual/libc"
2 RDEPENDS = "libc6"
3 DESCRIPTION = "The man page suite, including man, apropos, \
4 and whatis consists of programs that are used to read most \
5 of the documentation available on a Linux system."
6
7 SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/man/man-${PV}.tar.bz2"
8
9 EXTRA_OEMAKE = ""
10 GS = "-DGREPSILENT=\"q\""
11 DEFS = "-DUSG -DDO_COMPRESS ${GS}"
12
13 do_configure() {
14         ./configure -d -confdir ${sysconfdir}
15 }
16
17 do_compile() {
18         (cd src; ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \
19                 makemsg.c -o makemsg)
20         oe_runmake 'DEFS=${DEFS}'
21 }
22
23 do_install() {
24         oe_runmake 'PREFIX=${D}' install
25 }
26
27 FILES_${PN} = "${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \
28                ${libdir}/*/ ${sysconfdir} ${sharedstatedir} ${localstatedir} \
29                /bin /sbin /lib/*/ /lib/*.so*"