2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-15 10:34:23 +02:00
|
|
|
#
|
|
|
|
# opkg
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-05-15 10:34:23 +02:00
|
|
|
|
2019-07-05 06:32:14 +02:00
|
|
|
OPKG_VERSION = 0.4.1
|
2018-05-22 20:56:51 +02:00
|
|
|
OPKG_SITE = http://downloads.yoctoproject.org/releases/opkg
|
2016-04-29 19:59:38 +02:00
|
|
|
OPKG_DEPENDENCIES = host-pkgconf libarchive
|
2017-03-30 15:43:32 +02:00
|
|
|
OPKG_LICENSE = GPL-2.0+
|
2013-10-05 20:58:42 +02:00
|
|
|
OPKG_LICENSE_FILES = COPYING
|
2012-05-15 10:34:23 +02:00
|
|
|
OPKG_INSTALL_STAGING = YES
|
2014-09-27 21:32:44 +02:00
|
|
|
OPKG_CONF_OPTS = --disable-curl
|
2012-05-15 10:34:23 +02:00
|
|
|
|
|
|
|
# Ensure directory for lockfile exists
|
|
|
|
define OPKG_CREATE_LOCKDIR
|
|
|
|
mkdir -p $(TARGET_DIR)/usr/lib/opkg
|
|
|
|
endef
|
|
|
|
|
2013-03-01 14:38:29 +01:00
|
|
|
ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
|
2014-09-27 21:32:44 +02:00
|
|
|
OPKG_CONF_OPTS += --enable-gpg
|
2015-06-06 15:38:56 +02:00
|
|
|
OPKG_CONF_ENV += \
|
|
|
|
ac_cv_path_GPGME_CONFIG=$(STAGING_DIR)/usr/bin/gpgme-config \
|
|
|
|
ac_cv_path_GPGERR_CONFIG=$(STAGING_DIR)/usr/bin/gpg-error-config
|
|
|
|
OPKG_DEPENDENCIES += libgpgme libgpg-error
|
2013-03-01 14:38:29 +01:00
|
|
|
else
|
2014-09-27 21:32:44 +02:00
|
|
|
OPKG_CONF_OPTS += --disable-gpg
|
2013-03-01 14:38:29 +01:00
|
|
|
endif
|
|
|
|
|
2012-05-15 10:34:23 +02:00
|
|
|
OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|