2014-10-20 12:14:51 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# trinity
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-12-03 20:34:38 +01:00
|
|
|
TRINITY_VERSION = 1.8
|
2017-04-13 07:29:19 +02:00
|
|
|
TRINITY_SITE = http://codemonkey.org.uk/projects/trinity
|
|
|
|
TRINITY_SOURCE = trinity-$(TRINITY_VERSION).tar.xz
|
2017-03-30 15:43:32 +02:00
|
|
|
TRINITY_LICENSE = GPL-2.0
|
2014-10-20 12:14:51 +02:00
|
|
|
TRINITY_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
define TRINITY_CONFIGURE_CMDS
|
2017-04-13 07:29:19 +02:00
|
|
|
(cd $(@D); $(TARGET_CONFIGURE_OPTS) ./configure)
|
2014-10-20 12:14:51 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
define TRINITY_BUILD_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define TRINITY_INSTALL_TARGET_CMDS
|
|
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
|
|
|
|
endef
|
|
|
|
|
|
|
|
# Install helper scripts
|
|
|
|
define TRINITY_INSTALL_HELPER_SCRIPTS
|
|
|
|
mkdir -p $(TARGET_DIR)/usr/libexec/trinity
|
|
|
|
cp -p $(@D)/scripts/* $(TARGET_DIR)/usr/libexec/trinity/
|
|
|
|
endef
|
|
|
|
TRINITY_POST_INSTALL_TARGET_HOOKS += TRINITY_INSTALL_HELPER_SCRIPTS
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|