Initial Commit
- initial default booting image
This commit is contained in:
29
package/libdnet/0001-python-makefile.patch
Normal file
29
package/libdnet/0001-python-makefile.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
From 298cd8eaa21a21eee85f9551a26ad294347b1d5a Mon Sep 17 00:00:00 2001
|
||||
From: Peter Korsgaard <peter@korsgaard.com>
|
||||
Date: Thu, 30 Dec 2021 11:14:15 -0800
|
||||
Subject: [PATCH] python makefile
|
||||
|
||||
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
|
||||
[adam: refresh for 1.14; make it git-formatted]
|
||||
Signed-off-by: Adam Duskett <aduskett@gmail.com>
|
||||
[Fabrice: updated for 1.16.1]
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
python/Makefile.am | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/python/Makefile.am b/python/Makefile.am
|
||||
index 1a74ef2..59fe0f3 100644
|
||||
--- a/python/Makefile.am
|
||||
+++ b/python/Makefile.am
|
||||
@@ -11,6 +11,7 @@ $(srcdir)/dnet.c: $(srcdir)/dnet.pyx
|
||||
|
||||
|
||||
python-build:
|
||||
+ CC="$(CC)" LDSHARED="$(CC) -shared" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" $(PYTHON) setup.py build_ext -I$(PYINCDIR) -L$(PYLIBDIR)
|
||||
$(PYTHON) setup.py build
|
||||
touch python-build
|
||||
|
||||
--
|
||||
2.33.1
|
||||
|
||||
7
package/libdnet/Config.in
Normal file
7
package/libdnet/Config.in
Normal file
@@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBDNET
|
||||
bool "libdnet"
|
||||
help
|
||||
libdnet - simplified interface to low-level networking
|
||||
routines.
|
||||
|
||||
http://libdnet.sourceforge.net/
|
||||
3
package/libdnet/libdnet.hash
Normal file
3
package/libdnet/libdnet.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 a4a82275c7d83b85b1daac6ebac9461352731922161f1dcdcccd46c318f583c9 libdnet-1.18.0.tar.gz
|
||||
sha256 6b46ec86e290066c47b6607d322135b3c473566e7225ac23d35a7c0588a82da6 LICENSE
|
||||
33
package/libdnet/libdnet.mk
Normal file
33
package/libdnet/libdnet.mk
Normal file
@@ -0,0 +1,33 @@
|
||||
################################################################################
|
||||
#
|
||||
# libdnet
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBDNET_VERSION = 1.18.0
|
||||
LIBDNET_SITE = $(call github,ofalk,libdnet,libdnet-$(LIBDNET_VERSION))
|
||||
LIBDNET_LICENSE = BSD-3-Clause
|
||||
LIBDNET_LICENSE_FILES = LICENSE
|
||||
LIBDNET_INSTALL_STAGING = YES
|
||||
LIBDNET_AUTORECONF = YES
|
||||
LIBDNET_CONF_OPTS = \
|
||||
--with-gnu-ld \
|
||||
--with-check=no \
|
||||
--without-python
|
||||
LIBDNET_CONFIG_SCRIPTS = dnet-config
|
||||
LIBDNET_DEPENDENCIES = host-pkgconf
|
||||
|
||||
# Needed for autoreconf to work properly
|
||||
define LIBDNET_FIXUP_ACINCLUDE_M4
|
||||
ln -sf config/acinclude.m4 $(@D)
|
||||
endef
|
||||
|
||||
LIBDNET_POST_EXTRACT_HOOKS += LIBDNET_FIXUP_ACINCLUDE_M4
|
||||
|
||||
define LIBDNET_REMOVE_CONFIG_SCRIPT
|
||||
$(RM) -f $(TARGET_DIR)/usr/bin/dnet-config
|
||||
endef
|
||||
|
||||
LIBDNET_POST_INSTALL_TARGET_HOOKS += LIBDNET_REMOVE_CONFIG_SCRIPT
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user