diff options
author | Andreas Geisenhainer <Andreas.Geisenhainer@atsonline.de> | 2016-04-08 12:57:13 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-04-12 09:00:55 +0200 |
commit | e2c4c9dceec7dfcef3bfcbd2f2a2d09eb88b8726 (patch) | |
tree | 46f2d37a9ed5b91148c2ead1c1501c5bd6ba8915 /rules/libmnl.make | |
parent | 6a36221821e623ac619e1eba4f85e95e751159b9 (diff) | |
download | ptxdist-e2c4c9dceec7dfcef3bfcbd2f2a2d09eb88b8726.tar.gz ptxdist-e2c4c9dceec7dfcef3bfcbd2f2a2d09eb88b8726.tar.xz |
libmnl: adding new library in version 1.0.3
- library will be used by nftables
Signed-off-by: Andreas Geisenhainer <Andreas.Geisenhainer@atsonline.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libmnl.make')
-rw-r--r-- | rules/libmnl.make | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/rules/libmnl.make b/rules/libmnl.make new file mode 100644 index 000000000..c71f00436 --- /dev/null +++ b/rules/libmnl.make @@ -0,0 +1,52 @@ +# -*-makefile-*- +# +# Copyright (C) 2016 by Andreas Geisenhainer <andreas.geisenhainer@atsonline.de> +# +# 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_LIBMNL) += libmnl + +# +# Paths and names +# +LIBMNL_VERSION := 1.0.3 +LIBMNL_MD5 := 7d95fc3bea3365bc03c48e484224f65f +LIBMNL := libmnl-$(LIBMNL_VERSION) +LIBMNL_SUFFIX := tar.bz2 +LIBMNL_URL := http://ftp.netfilter.org/pub/libmnl/$(LIBMNL).$(LIBMNL_SUFFIX) +LIBMNL_SOURCE := $(SRCDIR)/$(LIBMNL).$(LIBMNL_SUFFIX) +LIBMNL_DIR := $(BUILDDIR)/$(LIBMNL) +LIBMNL_LICENSE := GPL-2.0 + +# +# autoconf +# +LIBMNL_CONF_TOOL := autoconf + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/libmnl.targetinstall: + @$(call targetinfo) + + @$(call install_init, libmnl) + @$(call install_fixup, libmnl,PRIORITY,optional) + @$(call install_fixup, libmnl,SECTION,base) + @$(call install_fixup, libmnl,AUTHOR,"Andreas Geisenhainer <andreas.geisenhainer@atsonline.de>") + @$(call install_fixup, libmnl,DESCRIPTION,missing) + + @$(call install_lib, libmnl, 0, 0, 0644, libmnl) + + @$(call install_finish, libmnl) + + @$(call touch) + +# vim: syntax=make |