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
|
|
|
|
2014-12-22 09:49:15 +01:00
|
|
|
OPKG_VERSION = v0.2.4
|
2014-06-27 21:40:35 +02:00
|
|
|
OPKG_SITE = http://git.yoctoproject.org/git/opkg
|
|
|
|
OPKG_SITE_METHOD = git
|
2013-10-05 20:58:42 +02:00
|
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
|
|
OPKG_DEPENDENCIES = host-pkgconf
|
|
|
|
OPKG_LICENSE = GPLv2+
|
|
|
|
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-08-12 03:36:31 +02:00
|
|
|
OPKG_AUTORECONF = YES
|
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
|
2013-03-01 14:38:29 +01:00
|
|
|
OPKG_CONF_ENV = ac_cv_path_GPGME_CONFIG=$(STAGING_DIR)/usr/bin/gpgme-config
|
|
|
|
OPKG_DEPENDENCIES += libgpgme
|
|
|
|
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))
|