From 57c2e79b27273f1a3ca76008c4a428496680e75e Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Sun, 26 Jul 2009 21:08:51 +0200 Subject: libnl: new package Closes #287. Signed-off-by: Gustavo Zacarias Tested-by: Will Newton Signed-off-by: Peter Korsgaard --- package/libnl/Config.in | 6 ++++++ package/libnl/libnl.mk | 22 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 package/libnl/Config.in create mode 100644 package/libnl/libnl.mk (limited to 'package/libnl') diff --git a/package/libnl/Config.in b/package/libnl/Config.in new file mode 100644 index 000000000..24e481361 --- /dev/null +++ b/package/libnl/Config.in @@ -0,0 +1,6 @@ +config BR2_PACKAGE_LIBNL + bool "libnl" + help + A library for applications dealing with netlink socket. + + http://people.suug.ch/~tgr/libnl/ diff --git a/package/libnl/libnl.mk b/package/libnl/libnl.mk new file mode 100644 index 000000000..1a667468d --- /dev/null +++ b/package/libnl/libnl.mk @@ -0,0 +1,22 @@ +############################################################# +# +# libnl +# +############################################################# + +LIBNL_VERSION = 1.1 +LIBNL_SOURCE = libnl-$(LIBNL_VERSION).tar.gz +LIBNL_SITE = http://distfiles.gentoo.org/distfiles +LIBNL_INSTALL_STAGING = YES +LIBNL_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install + +$(eval $(call AUTOTARGETS,package,libnl)) + +$(LIBNL_HOOK_POST_INSTALL): $(LIBNL_TARGET_INSTALL_TARGET) + $(STRIPCMD) $(STRIP_STRIP_UNNEEDED) $(TARGET_DIR)/usr/lib/libnl.so* + touch $@ + +$(LIBNL_TARGET_UNINSTALL): + $(call MESSAGE,"Uninstalling") + rm -f $(TARGET_DIR)/usr/lib/libnl.so* + rm -f $(LIBNL_TARGET_INSTALL_TARGET) $(LIBNL_HOOK_POST_INSTALL) -- cgit v1.2.3