libnet 1.1.2.1: updated packaging
authorMarcin Juszkiewicz <hrw@openembedded.org>
Sun, 20 Nov 2005 16:36:17 +0000 (16:36 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Sun, 20 Nov 2005 16:36:17 +0000 (16:36 +0000)
- man pages goes to libnet-doc
- libnet-config goes to libnet-dev

packages/libnet/libnet_1.1.2.1.bb

index 9879008..4c862dc 100644 (file)
@@ -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"