<commit_before>DESCRIPTION = "libnl is a library for applications dealing with netlink sockets"
SECTION = "libs/network"
LICENSE = "LGPL"
HOMEPAGE = "http://people.suug.ch/~tgr/libnl"
PR = "r2"

inherit autotools pkgconfig

CFLAGS += '-DVLAN_FLAG_REORDER_HDR=1'

SRC_URI = "\
  http://people.suug.ch/~tgr/libnl/files/libnl-${PV}.tar.gz \
  file://local-includes.patch;patch=1 \
  file://fix-includes.patch;patch=1 \
  file://respect-ldflags.patch;patch=1 \
  file://netlink-local-fix.patch;patch=1 \
"

do_stage () {
	autotools_stage_all prefix=${prefix}
}
<commit_msg>libnl 1.1: convert to new style staging and add comment about solving build error<commit_after>DESCRIPTION = "libnl is a library for applications dealing with netlink sockets"
SECTION = "libs/network"
LICENSE = "LGPL"
HOMEPAGE = "http://people.suug.ch/~tgr/libnl"

# If you get errors like : undefined reference to `nl_handle_alloc
# do a bitbake -c clean libnl2

PR = "r3"

inherit autotools pkgconfig

CFLAGS += '-DVLAN_FLAG_REORDER_HDR=1'

SRC_URI = "\
  http://people.suug.ch/~tgr/libnl/files/libnl-${PV}.tar.gz \
  file://local-includes.patch;patch=1 \
  file://fix-includes.patch;patch=1 \
  file://respect-ldflags.patch;patch=1 \
  file://netlink-local-fix.patch;patch=1 \
"


{'fraction_non_alphanumeric': 0.1509584664536741, 'fraction_numerical': 0.011980830670926517, 'mean_word_length': 4.156378600823046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '784614', 'n_tokens_mistral': 477, 'n_tokens_neox': 465, 'n_words': 91}