# -*-makefile-*- # # Copyright (C) 2013 by Bernhard Walle # # 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 ") @$(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