summaryrefslogtreecommitdiff
path: root/man/man_1.5m2.oe
diff options
context:
space:
mode:
Diffstat (limited to 'man/man_1.5m2.oe')
-rw-r--r--man/man_1.5m2.oe23
1 files changed, 23 insertions, 0 deletions
diff --git a/man/man_1.5m2.oe b/man/man_1.5m2.oe
index e69de29bb2..8f69a21ec6 100644
--- a/man/man_1.5m2.oe
+++ b/man/man_1.5m2.oe
@@ -0,0 +1,23 @@
+SRC_URI := ftp://ftp.kernel.org/pub/linux/utils/man/man-1.5m2.tar.bz2
+
+EXTRA_OEMAKE=
+GS = -DGREPSILENT=\"q\"
+DEFS = -DUSG -DDO_COMPRESS ${GS}
+
+do_configure() {
+ ./configure -d -confdir ${sysconfdir}
+}
+
+do_compile() {
+ (cd src; ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} \
+ makemsg.c -o makemsg)
+ oe_runmake 'DEFS=${DEFS}'
+}
+
+do_install() {
+ oe_runmake 'PREFIX=${D}' install
+}
+
+FILES_${PN}=${bindir} ${sbindir} ${libexecdir} ${libdir}/lib*.so.* \
+ ${libdir}/*/ ${sysconfdir} ${sharedstatedir} ${localstatedir} \
+ /bin /sbin /lib/*/ /lib/*.so*