1 ################################################################################
5 ################################################################################
8 TRINITY_SITE
= $(call github
,kernelslacker
,trinity
,$(TRINITY_VERSION
))
9 TRINITY_LICENSE
= GPLv2
10 TRINITY_LICENSE_FILES
= COPYING
12 define TRINITY_CONFIGURE_CMDS
13 (cd
$(@D
); $(TARGET_CONFIGURE_OPTS
) .
/configure.sh
)
16 define TRINITY_BUILD_CMDS
17 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
)
20 define TRINITY_INSTALL_TARGET_CMDS
21 $(TARGET_CONFIGURE_OPTS
) $(MAKE
) -C
$(@D
) DESTDIR
=$(TARGET_DIR
)/usr
install
24 # Install helper scripts
25 define TRINITY_INSTALL_HELPER_SCRIPTS
26 mkdir
-p
$(TARGET_DIR
)/usr
/libexec
/trinity
27 cp
-p
$(@D
)/scripts
/* $(TARGET_DIR
)/usr
/libexec
/trinity
/
29 TRINITY_POST_INSTALL_TARGET_HOOKS
+= TRINITY_INSTALL_HELPER_SCRIPTS
31 $(eval
$(generic-package
))