2017-04-13 11:33:20 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# phytool
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-09-17 11:40:02 +02:00
|
|
|
PHYTOOL_VERSION = 2
|
2017-04-13 11:33:20 +02:00
|
|
|
PHYTOOL_SOURCE = phytool-$(PHYTOOL_VERSION).tar.xz
|
|
|
|
PHYTOOL_SITE = https://github.com/wkz/phytool/releases/download/v$(PHYTOOL_VERSION)
|
|
|
|
PHYTOOL_LICENSE = GPL-2.0+
|
|
|
|
PHYTOOL_LICENSE_FILES = LICENSE
|
|
|
|
|
|
|
|
define PHYTOOL_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
LDLIBS="$(TARGET_LDFLAGS)"
|
|
|
|
endef
|
|
|
|
|
|
|
|
define PHYTOOL_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
|
|
|
DESTDIR="$(TARGET_DIR)" \
|
|
|
|
PREFIX="usr" install
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|