summaryrefslogtreecommitdiffstats
path: root/rules/tree.make
blob: d862938513efc28e237647b0c02e019dde1b0ad1 (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
58
59
# -*-makefile-*-
#
# Copyright (C) 2013 by Bernhard Walle <bernhard@bwalle.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_TREE) += tree

#
# Paths and names
#
TREE_VERSION	:= 1.6.0
TREE_MD5	:= 04e967a3f4108d50cde3b4b0e89e970a
TREE		:= tree-$(TREE_VERSION)
TREE_SUFFIX	:= tgz
TREE_URL	:= http://mama.indstate.edu/users/ice/tree/src/$(TREE).$(TREE_SUFFIX)
TREE_SOURCE	:= $(SRCDIR)/$(TREE).$(TREE_SUFFIX)
TREE_DIR	:= $(BUILDDIR)/$(TREE)
TREE_LICENSE	:= GPL

# ----------------------------------------------------------------------------
# Compile
# ----------------------------------------------------------------------------

TREE_MAKE_OPT	:= \
	$(CROSS_ENV_CC) \
	$(CROSS_ENV_CPP) \
	$(CROSS_ENV_AS)

TREE_INSTALL_OPT := \
	prefix=$(TREE_PKGDIR)/usr install

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

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

	@$(call install_init, tree)
	@$(call install_fixup, tree,PRIORITY,optional)
	@$(call install_fixup, tree,SECTION,base)
	@$(call install_fixup, tree,AUTHOR,"Bernhard Walle <bernhard@bwalle.de>")
	@$(call install_fixup, tree,DESCRIPTION,missing)

	@$(call install_copy, tree, 0, 0, 0755, -, /usr/bin/tree)

	@$(call install_finish, tree)

	@$(call touch)

# vim: syntax=make