summaryrefslogtreecommitdiffstats
path: root/rules/libnfnetlink.make
blob: bde7316864050dbff5c1a1d0c920e349e38aa78f (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) 2011 by Hans Kortenoeven <hans.kortenoeven@home.nl>
#
# 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_LIBNFNETLINK) += libnfnetlink

#
# Paths and names
#
LIBNFNETLINK_VERSION	:= 1.0.0
LIBNFNETLINK_MD5	:= 016fdec8389242615024c529acc1adb8
LIBNFNETLINK		:= libnfnetlink-$(LIBNFNETLINK_VERSION)
LIBNFNETLINK_SUFFIX	:= tar.bz2
LIBNFNETLINK_URL		:= http://ftp.netfilter.org/pub/libnfnetlink/$(LIBNFNETLINK).$(LIBNFNETLINK_SUFFIX)
LIBNFNETLINK_SOURCE	:= $(SRCDIR)/$(LIBNFNETLINK).$(LIBNFNETLINK_SUFFIX)
LIBNFNETLINK_DIR		:= $(BUILDDIR)/$(LIBNFNETLINK)
LIBNFNETLINK_LICENSE	:= GPL2

#
# autoconf
#
LIBNFNETLINK_CONF_TOOL	:= autoconf

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

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

	@$(call install_init, libnfnetlink)
	@$(call install_fixup, libnfnetlink,PRIORITY,optional)
	@$(call install_fixup, libnfnetlink,SECTION,base)
	@$(call install_fixup, libnfnetlink,AUTHOR,"Hans Kortenoeven <hans.kortenoeven@home.nl>")
	@$(call install_fixup, libnfnetlink,DESCRIPTION,missing)

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

	@$(call install_finish, libnfnetlink)

	@$(call touch)