summaryrefslogtreecommitdiffstats
path: root/rules/net-dns-perl.make
blob: 6e534cf913826ed591e9cf866c301e41d5292e7c (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
52
53
54
# -*-makefile-*-
#
# Copyright (C) 2014 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_NET_DNS_PERL) += net-dns-perl

#
# Paths and names
#
NET_DNS_PERL_VERSION	:= 0.74
NET_DNS_PERL_MD5	:= d3d074ba95314fa9627252653a4242b7
NET_DNS_PERL		:= Net-DNS-$(NET_DNS_PERL_VERSION)
NET_DNS_PERL_SUFFIX	:= tar.gz
NET_DNS_PERL_URL	:= http://www.net-dns.org/download/$(NET_DNS_PERL).$(NET_DNS_PERL_SUFFIX)
NET_DNS_PERL_SOURCE	:= $(SRCDIR)/$(NET_DNS_PERL).$(NET_DNS_PERL_SUFFIX)
NET_DNS_PERL_DIR	:= $(BUILDDIR)/$(NET_DNS_PERL)
NET_DNS_PERL_LICENSE	:= unknown

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

NET_DNS_PERL_CONF_TOOL	:= perl
NET_DNS_PERL_CONF_OPT	:= \
	--noonline-tests \
	--noIPv6-tests

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

$(STATEDIR)/net-dns-perl.targetinstall:
	@$(call targetinfo)

	@$(call install_init, net-dns-perl)
	@$(call install_fixup, net-dns-perl,PRIORITY,optional)
	@$(call install_fixup, net-dns-perl,SECTION,base)
	@$(call install_fixup, net-dns-perl,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
	@$(call install_fixup, net-dns-perl,DESCRIPTION,missing)

	@$(call install_tree, net-dns-perl, 0, 0, -, $(PERL_SITELIB))

	@$(call install_finish, net-dns-perl)

	@$(call touch)

# vim: syntax=make