kumquat-buildroot/package/tree/tree.mk
Sébastien Szymanski 16fc737251 package/tree: update _SITE URL
The current TREE_SITE URL doesn't work anymore.
Moreover the README states:
"
The main distribution site for tree is here:
http://oldmanprogrammer.net/source.php?dir=projects/tree

Backup GIT sites are:
https://gitlab.com/OldManProgrammer/unix-tree
https://github.com/Old-Man-Programmer/tree

Old site for as long as it lasts:
http://mama.indstate.edu/users/ice/tree/
ftp://mama.indstate.edu/linux/tree/
"

Use http://oldmanprogrammer.net/tar/tree/ for TREE_SITE

Signed-off-by: Sébastien Szymanski <sebastien.szymanski@armadeus.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-12-17 22:35:44 +01:00

23 lines
576 B
Makefile

################################################################################
#
# tree
#
################################################################################
TREE_VERSION = 2.1.1
TREE_SOURCE = tree-$(TREE_VERSION).tgz
TREE_SITE = http://oldmanprogrammer.net/tar/tree
TREE_LICENSE = GPL-2.0+
TREE_LICENSE_FILES = LICENSE
define TREE_BUILD_CMDS
$(MAKE) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(TARGET_CFLAGS) -std=c99" \
-C $(@D)
endef
define TREE_INSTALL_TARGET_CMDS
$(INSTALL) -D -m 0755 $(@D)/tree $(TARGET_DIR)/usr/bin/tree
endef
$(eval $(generic-package))