1 ################################################################################
5 ################################################################################
8 OPKG_SITE
= http
://git.yoctoproject.org
/git
/opkg
10 # Uses PKG_CHECK_MODULES() in configure.ac
11 OPKG_DEPENDENCIES
= host-pkgconf libarchive
13 OPKG_LICENSE_FILES
= COPYING
14 OPKG_INSTALL_STAGING
= YES
15 OPKG_CONF_OPTS
= --disable-curl
18 # Ensure directory for lockfile exists
19 define OPKG_CREATE_LOCKDIR
20 mkdir
-p
$(TARGET_DIR
)/usr
/lib
/opkg
23 ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN
),y
)
24 OPKG_CONF_OPTS
+= --enable-gpg
26 ac_cv_path_GPGME_CONFIG
=$(STAGING_DIR
)/usr
/bin
/gpgme-config \
27 ac_cv_path_GPGERR_CONFIG
=$(STAGING_DIR
)/usr
/bin
/gpg-error-config
28 OPKG_DEPENDENCIES
+= libgpgme libgpg-error
30 OPKG_CONF_OPTS
+= --disable-gpg
33 OPKG_POST_INSTALL_TARGET_HOOKS
+= OPKG_CREATE_LOCKDIR
35 $(eval
$(autotools-package
))