|
@@ -9,7 +9,7 @@ OPKG_SOURCE = opkg-$(OPKG_VERSION).tar.gz
|
|
OPKG_SITE = http://opkg.googlecode.com/svn/trunk/
|
|
OPKG_SITE = http://opkg.googlecode.com/svn/trunk/
|
|
OPKG_SITE_METHOD = svn
|
|
OPKG_SITE_METHOD = svn
|
|
OPKG_INSTALL_STAGING = YES
|
|
OPKG_INSTALL_STAGING = YES
|
|
-OPKG_CONF_OPT = --disable-curl --disable-gpg
|
|
|
|
|
|
+OPKG_CONF_OPT = --disable-curl
|
|
OPKG_AUTORECONF = YES
|
|
OPKG_AUTORECONF = YES
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
OPKG_DEPENDENCIES = host-pkgconf
|
|
OPKG_DEPENDENCIES = host-pkgconf
|
|
@@ -19,6 +19,14 @@ define OPKG_CREATE_LOCKDIR
|
|
mkdir -p $(TARGET_DIR)/usr/lib/opkg
|
|
mkdir -p $(TARGET_DIR)/usr/lib/opkg
|
|
endef
|
|
endef
|
|
|
|
|
|
|
|
+ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
|
|
|
|
+OPKG_CONF_OPT += --enable-gpg
|
|
|
|
+OPKG_CONF_ENV = ac_cv_path_GPGME_CONFIG=$(STAGING_DIR)/usr/bin/gpgme-config
|
|
|
|
+OPKG_DEPENDENCIES += libgpgme
|
|
|
|
+else
|
|
|
|
+OPKG_CONF_OPT += --disable-gpg
|
|
|
|
+endif
|
|
|
|
+
|
|
OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
|
|
OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
|
|
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(autotools-package))
|