# base recipe: http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/\
#	meta-oe/recipes-connectivity/libnet/libnet_1.2-rc3.bb?
# base branch: master
# base commit: a558e8096c381bb2b83ad1ef39f3301e73759cbb
#

SUMMARY = "A packet dissection and creation library"
DESCRIPTION = "libnet provides a portable framework for low-level \
network packet writing and handling \
libnet features portable packet creation interfaces at the IP layer \
and link layer, as well as a host of supplementary functionality"
HOMEPAGE = "http://libnet-dev.sourceforge.net/"

PR = "r0"
inherit debian-package

LICENSE = "BSD-2-Clause & BSD-3-Clause & BSD-4-Clause"
LIC_FILES_CHKSUM = "file://doc/COPYING;md5=fb43d5727b2d3d1238545f75ce456ec3 \
		    file://include/ifaddrlist.h;md5=58a41682f610ab26d8b2e457f1d8d593 \
		    file://include/bpf.h;md5=4bf8fab88f054e7f83c66e9fa9180933 \
"
DEPENDS = "libpcap"

inherit autotools binconfig

#Correct the packages name
DEBIANNAME_${PN}-dev = "${PN}1-dev"
DEBIANNAME_${PN}-doc = "${PN}1-doc"
DEBIANNAME_${PN}-dbg = "${PN}1-dbg"

Add recipe for libnet package
libnet: Add recipe for libnet package

Create recipe to build libnet from debian source package

Signed-off-by: Nguyen Van Hieu <95b6c63292b73e14e1eaecc80ea875350fcf3ae9@toshiba-tsdv.com>
