# -*-makefile-*- # # Copyright (C) 2009 by Robert Schwebel # 2010 by Michael Olbrich # # See CREDITS for details about who has contributed to this project. # # For further information about the PTXdist project and license conditions # see the README file. # # # We provide this package # PACKAGES-$(PTXCONF_LIBNL) += libnl # # Paths and names # LIBNL_VERSION := 1.1 LIBNL_MD5 := ae970ccd9144e132b68664f98e7ceeb1 LIBNL := libnl-$(LIBNL_VERSION) LIBNL_SUFFIX := tar.gz LIBNL_URL := http://people.suug.ch/~tgr/libnl/files/$(LIBNL).$(LIBNL_SUFFIX) LIBNL_SOURCE := $(SRCDIR)/$(LIBNL).$(LIBNL_SUFFIX) LIBNL_DIR := $(BUILDDIR)/$(LIBNL) LIBNL_LICENSE := LGPL-2.1-only # ---------------------------------------------------------------------------- # Prepare # ---------------------------------------------------------------------------- LIBNL_PATH := PATH=$(CROSS_PATH) LIBNL_ENV := $(CROSS_ENV) # # autoconf # LIBNL_AUTOCONF := $(CROSS_AUTOCONF_USR) # ---------------------------------------------------------------------------- # Target-Install # ---------------------------------------------------------------------------- $(STATEDIR)/libnl.targetinstall: @$(call targetinfo) @$(call install_init, libnl) @$(call install_fixup, libnl,PRIORITY,optional) @$(call install_fixup, libnl,SECTION,base) @$(call install_fixup, libnl,AUTHOR,"Robert Schwebel ") @$(call install_fixup, libnl,DESCRIPTION,missing) @$(call install_lib, libnl, 0, 0, 0644, libnl) ifdef PTXCONF_LIBNL_MONITOR @$(call install_copy, libnl, 0, 0, 0755, -, /usr/sbin/nl-monitor) endif # genl-ctrl-dump # genl-ctrl-get # nf-ct-dump # nf-log # nf-monitor # nl-addr-add # nl-addr-delete # nl-addr-dump # nl-fib-lookup # nl-link-dump # nl-link-ifindex2name # nl-link-name2ifindex # nl-link-set # nl-link-stats # nl-list-caches # nl-list-sockets # nl-monitor # nl-neigh-add # nl-neigh-delete # nl-neigh-dump # nl-neightbl-dump # nl-qdisc-add # nl-qdisc-delete # nl-qdisc-dump # nl-route-add # nl-route-del # nl-route-dump # nl-route-get # nl-rule-dump # nl-tctree-dump # nl-util-addr @$(call install_finish, libnl) @$(call touch) # vim: syntax=make