summaryrefslogtreecommitdiffstats
path: root/rules/libnftnl.make
blob: 5369e6afac39f6c0ce16079aa68a86c3bb7fa754 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# -*-makefile-*-
#
# Copyright (C) 2016 by Andreas Geisenhainer <andreas.geisenhainer@atsonline.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_LIBNFTNL) += libnftnl

#
# Paths and names
#
LIBNFTNL_VERSION	:= 1.2.6
LIBNFTNL_MD5		:= 9bf28deba94430ee7a3dac0dc5c5026b
LIBNFTNL		:= libnftnl-$(LIBNFTNL_VERSION)
LIBNFTNL_SUFFIX		:= tar.xz
LIBNFTNL_URL		:= http://ftp.netfilter.org/pub/libnftnl/$(LIBNFTNL).$(LIBNFTNL_SUFFIX)
LIBNFTNL_SOURCE		:= $(SRCDIR)/$(LIBNFTNL).$(LIBNFTNL_SUFFIX)
LIBNFTNL_DIR		:= $(BUILDDIR)/$(LIBNFTNL)
LIBNFTNL_LICENSE	:= GPL-2.0-only AND GPL-2.0-or-later
LIBNFTNL_LICENSE_FILES	:= file://COPYING;md5=79808397c3355f163c012616125c9e26

#
# autoconf
#
LIBNFTNL_CONF_TOOL	:= autoconf

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/libnftnl.targetinstall:
	@$(call targetinfo)

	@$(call install_init, libnftnl)
	@$(call install_fixup, libnftnl,PRIORITY,optional)
	@$(call install_fixup, libnftnl,SECTION,base)
	@$(call install_fixup, libnftnl,AUTHOR,"Andreas Geisenhainer <andreas.geisenhainer@atsonline.de>")
	@$(call install_fixup, libnftnl,DESCRIPTION,missing)

	@$(call install_lib, libnftnl, 0, 0, 0644, libnftnl)

	@$(call install_finish, libnftnl)

	@$(call touch)

# vim: syntax=make