From 9c05b535df13b081ab17ee5317ef8584daf279ec Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Sun, 20 Nov 2005 16:36:17 +0000 Subject: libnet 1.1.2.1: updated packaging - man pages goes to libnet-doc - libnet-config goes to libnet-dev --- packages/libnet/libnet_1.1.2.1.bb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'packages/libnet') diff --git a/packages/libnet/libnet_1.1.2.1.bb b/packages/libnet/libnet_1.1.2.1.bb index 9879008474..4c862dce9e 100644 --- a/packages/libnet/libnet_1.1.2.1.bb +++ b/packages/libnet/libnet_1.1.2.1.bb @@ -26,3 +26,13 @@ do_stage () { oe_runmake -C include 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-includeHEADERS oe_runmake -C include/libnet 'DESTDIR=${STAGING_INCDIR}' 'includedir=' install-libnetincludeHEADERS } + +do_install_append () { + install -d ${D}${datadir}/man/man3/ + install -d ${D}${bindir} + install -m 0644 ${S}/doc/man/man3/*.3 ${D}${datadir}/man/man3/ + install -m 0755 ${S}/libnet-config ${D}${bindir} +} + +PACKAGES = "${PN}-dev ${PN}-doc" +FILES_${PN}-dev += "${bindir}/libnet-config" -- cgit v1.2.3