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