diff options
-rw-r--r-- | packages/libnet/libnet_1.1.2.1.bb | 10 |
1 files changed, 10 insertions, 0 deletions
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" |