Alexandre Belloni | 8dfd59d | 2013-06-05 23:53:30 +0000 | [diff] [blame] | 1 | ################################################################################ |
Gustavo Zacarias | 57c2e79 | 2009-07-26 21:08:51 +0200 | [diff] [blame] | 2 | # |
| 3 | # libnl |
| 4 | # |
Alexandre Belloni | 8dfd59d | 2013-06-05 23:53:30 +0000 | [diff] [blame] | 5 | ################################################################################ |
Gustavo Zacarias | 57c2e79 | 2009-07-26 21:08:51 +0200 | [diff] [blame] | 6 | |
Fabrice Fontaine | 5328e02 | 2023-12-30 19:42:10 +0100 | [diff] [blame] | 7 | LIBNL_VERSION = 3.9.0 |
Gustavo Zacarias | bee5ff6 | 2015-04-14 08:07:48 -0300 | [diff] [blame] | 8 | LIBNL_SITE = https://github.com/thom311/libnl/releases/download/libnl$(subst .,_,$(LIBNL_VERSION)) |
Rahul Bedarkar | 30a3e8d | 2017-03-30 19:13:34 +0530 | [diff] [blame] | 9 | LIBNL_LICENSE = LGPL-2.1+ |
Gustavo Zacarias | 44393cd | 2012-09-07 04:48:48 +0000 | [diff] [blame] | 10 | LIBNL_LICENSE_FILES = COPYING |
Yann E. MORIN | c19cca0 | 2024-02-10 22:24:58 +0100 | [diff] [blame] | 11 | LIBNL_CPE_ID_VALID = YES |
Matt Weber | 56d5411 | 2021-04-20 15:11:32 -0500 | [diff] [blame] | 12 | |
Gustavo Zacarias | 57c2e79 | 2009-07-26 21:08:51 +0200 | [diff] [blame] | 13 | LIBNL_INSTALL_STAGING = YES |
Baruch Siach | c358dbd | 2017-03-12 19:18:06 +0200 | [diff] [blame] | 14 | LIBNL_DEPENDENCIES = host-bison host-flex host-pkgconf |
Gustavo Zacarias | 57c2e79 | 2009-07-26 21:08:51 +0200 | [diff] [blame] | 15 | |
Thomas Petazzoni | 250af24 | 2013-11-02 11:26:25 +0100 | [diff] [blame] | 16 | ifeq ($(BR2_PACKAGE_LIBNL_TOOLS),y) |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 17 | LIBNL_CONF_OPTS += --enable-cli |
Thomas Petazzoni | 250af24 | 2013-11-02 11:26:25 +0100 | [diff] [blame] | 18 | else |
Thomas De Schampheleire | aaffd20 | 2014-09-27 21:32:44 +0200 | [diff] [blame] | 19 | LIBNL_CONF_OPTS += --disable-cli |
Gustavo Zacarias | 4b55a99 | 2012-05-14 02:29:58 +0000 | [diff] [blame] | 20 | endif |
| 21 | |
Baruch Siach | c358dbd | 2017-03-12 19:18:06 +0200 | [diff] [blame] | 22 | ifeq ($(BR2_PACKAGE_CHECK),y) |
| 23 | LIBNL_DEPENDENCIES += check |
| 24 | LIBNL_CONF_OPTS += --enable-unit-tests |
| 25 | else |
| 26 | LIBNL_CONF_OPTS += --disable-unit-tests |
| 27 | endif |
| 28 | |
Arnout Vandecappelle (Essensium/Mind) | e1502eb | 2012-07-03 00:07:32 +0200 | [diff] [blame] | 29 | $(eval $(autotools-package)) |