c7f4b96471
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
24 lines
626 B
Makefile
24 lines
626 B
Makefile
################################################################################
|
|
#
|
|
# tree
|
|
#
|
|
################################################################################
|
|
|
|
TREE_VERSION = 1.6.0
|
|
TREE_SOURCE = tree-$(TREE_VERSION).tgz
|
|
TREE_SITE = http://mama.indstate.edu/users/ice/tree/src
|
|
TREE_LICENSE = GPLv2+
|
|
TREE_LICENSE_FILES = LICENSE
|
|
|
|
define TREE_BUILD_CMDS
|
|
$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
|
|
endef
|
|
|
|
define TREE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D -m 0755 $(@D)/tree $(TARGET_DIR)/usr/bin/tree
|
|
$(INSTALL) -D -m 0644 $(@D)/doc/tree.1 \
|
|
$(TARGET_DIR)/usr/share/man/man1/tree.1
|
|
endef
|
|
|
|
$(eval $(generic-package))
|