package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / trinity / trinity.mk
blob7596e92ba83fbbcde622288d4c1a02ff79778ecf
1 ################################################################################
3 # trinity
5 ################################################################################
7 TRINITY_VERSION = v1.6
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)
14 endef
16 define TRINITY_BUILD_CMDS
17 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
18 endef
20 define TRINITY_INSTALL_TARGET_CMDS
21 $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR)/usr install
22 endef
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/
28 endef
29 TRINITY_POST_INSTALL_TARGET_HOOKS += TRINITY_INSTALL_HELPER_SCRIPTS
31 $(eval $(generic-package))