2014-10-16 11:30:53 -06:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# pps-tools
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2022-10-29 11:19:48 -06:00
|
|
|
PPS_TOOLS_VERSION = 1.0.3
|
|
|
|
PPS_TOOLS_SITE = $(call github,redlab-i,pps-tools,v$(PPS_TOOLS_VERSION))
|
2014-10-16 11:30:53 -06:00
|
|
|
PPS_TOOLS_INSTALL_STAGING = YES
|
2017-03-30 07:43:32 -06:00
|
|
|
PPS_TOOLS_LICENSE = GPL-2.0+
|
2014-10-16 11:30:53 -06:00
|
|
|
PPS_TOOLS_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
define PPS_TOOLS_BUILD_CMDS
|
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D) all
|
|
|
|
endef
|
|
|
|
|
|
|
|
define PPS_TOOLS_INSTALL_STAGING_CMDS
|
|
|
|
mkdir -p $(STAGING_DIR)/usr/include/sys $(STAGING_DIR)/usr/bin
|
2015-02-01 16:58:08 -07:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
DESTDIR=$(STAGING_DIR) -C $(@D) install
|
2014-10-16 11:30:53 -06:00
|
|
|
endef
|
|
|
|
|
|
|
|
define PPS_TOOLS_INSTALL_TARGET_CMDS
|
|
|
|
mkdir -p $(TARGET_DIR)/usr/include/sys $(TARGET_DIR)/usr/bin
|
2015-02-01 16:58:08 -07:00
|
|
|
$(TARGET_MAKE_ENV) $(MAKE) $(TARGET_CONFIGURE_OPTS) \
|
|
|
|
DESTDIR=$(TARGET_DIR) -C $(@D) install
|
2014-10-16 11:30:53 -06:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|