summaryrefslogtreecommitdiff
path: root/packages/libnet/libnet_1.1.2.1.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-11-20 16:36:17 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-11-20 16:36:17 +0000
commit9c05b535df13b081ab17ee5317ef8584daf279ec (patch)
tree7cb1349e4cc571750305fd392afe3bab05a2d164 /packages/libnet/libnet_1.1.2.1.bb
parent71c4e0319e7212360233c3050583a0bf1a791840 (diff)
libnet 1.1.2.1: updated packaging
- man pages goes to libnet-doc - libnet-config goes to libnet-dev
Diffstat (limited to 'packages/libnet/libnet_1.1.2.1.bb')
-rw-r--r--packages/libnet/libnet_1.1.2.1.bb10
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"