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
60
|
# -*-makefile-*-
#
# Copyright (C) 2013 by Bernhard Walle <bernhard@bwalle.de>
#
# 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-2.0-or-later AND LGPL-2.1-or-later
TREE_LICENSE_FILES := \
file://LICENSE;md5=393a5ca445f6965873eca0259a17f833 \
file://strverscmp.c;startline=1;endline=19;md5=f50ab9ef044f00fb22691ec5051c922d
# ----------------------------------------------------------------------------
# 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
|