summaryrefslogtreecommitdiffstats
path: root/rules/librn.make
blob: 1bd382560518dd4548c68a13841f5cf553fb084b (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
55
56
57
# -*-makefile-*-
#
# Copyright (C) 2003 Ixia Corporation, by Milan Bobde
#		2005-2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_LIBRN) += librn

#
# Paths and names
#
LIBRN_VERSION	:= 0.5.3
LIBRN_MD5	:= a357a6ceb4b6becae2f64d0fed9a8111
LIBRN		:= librn-$(LIBRN_VERSION)
LIBRN_SUFFIX	:= tar.bz2
LIBRN_URL	:= http://www.pengutronix.de/software/librn/download/$(LIBRN).$(LIBRN_SUFFIX)
LIBRN_SOURCE	:= $(SRCDIR)/$(LIBRN).$(LIBRN_SUFFIX)
LIBRN_DIR	:= $(BUILDDIR)/$(LIBRN)

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

#
# autoconf
#
LIBRN_CONF_TOOL	:= autoconf
LIBRN_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	--disable-debug

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

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

	@$(call install_init, librn)
	@$(call install_fixup, librn,PRIORITY,optional)
	@$(call install_fixup, librn,SECTION,base)
	@$(call install_fixup, librn,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
	@$(call install_fixup, librn,DESCRIPTION,missing)

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

	@$(call install_finish, librn)

	@$(call touch)

# vim: syntax=make