2014-10-20 12:14:51 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# trinity
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-04-13 07:29:19 +02:00
|
|
|
TRINITY_VERSION = 1.7
|
|
|
|
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
|
|
|
|
|
2017-04-14 06:20:02 +02:00
|
|
|
TRINITY_PATCH = https://github.com/kernelslacker/trinity/commit/b0e66a2d084ffc210bc1fc247efb4d177e9f7e3d.patch \
|
2017-04-16 00:23:31 +02:00
|
|
|
https://github.com/kernelslacker/trinity/commit/f447db18b389050ecc5e66dbf549d5953633e23e.patch \
|
2017-06-30 08:11:59 +02:00
|
|
|
https://github.com/kernelslacker/trinity/commit/87427256640f806710dd97fc807a9a896147c617.patch \
|
|
|
|
https://github.com/kernelslacker/trinity/commit/1d9af9d07ae111c253c92112fb50000adac47a0c.patch
|
2017-04-13 07:07:26 +02:00
|
|
|
|
2017-04-16 00:53:27 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_BTRFS_PROGS),y)
|
|
|
|
TRINITY_DEPENDENCIES += btrfs-progs
|
|
|
|
endif
|
|
|
|
|
2014-10-20 12:14:51 +02:00
|
|
|
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))
|