buildroot/package/opkg-utils/opkg-utils.mk

30 lines
794 B
Makefile

################################################################################
#
# opkg-utils
#
################################################################################
OPKG_UTILS_VERSION = 0.6.2
OPKG_UTILS_SITE = https://git.yoctoproject.org/git/opkg-utils
OPKG_UTILS_SITE_METHOD = git
OPKG_UTILS_LICENSE = GPL-2.0+
OPKG_UTILS_LICENSE_FILES = COPYING
HOST_OPKG_UTILS_DEPENDENCIES = \
$(BR2_PYTHON3_HOST_DEPENDENCY) \
host-lz4 \
host-xz
# Nothing to build; only scripts to install.
define OPKG_UTILS_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) PREFIX=$(TARGET_DIR) install-utils
endef
# Nothing to build; only scripts to install.
define HOST_OPKG_UTILS_INSTALL_CMDS
$(MAKE) -C $(@D) PREFIX=$(HOST_DIR) install-utils
endef
$(eval $(generic-package))
$(eval $(host-generic-package))