42699e397e
Upstream included a fix for musl in the current release: http://git.yoctoproject.org/cgit/cgit.cgi/opkg/commit/?id=f9a2febe724a514a89046c8cd92c2342e4383846 Fixes http://autobuild.buildroot.net/results/7e0/7e02c7d81bb83fef22554590521b848acd4fc38c/ http://autobuild.buildroot.net/results/4e0/4e01abdc8cace71802e527273b47dcc49c9bd4ce/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
36 lines
975 B
Makefile
36 lines
975 B
Makefile
################################################################################
|
|
#
|
|
# opkg
|
|
#
|
|
################################################################################
|
|
|
|
OPKG_VERSION = v0.3.1
|
|
OPKG_SITE = http://git.yoctoproject.org/git/opkg
|
|
OPKG_SITE_METHOD = git
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
OPKG_DEPENDENCIES = host-pkgconf
|
|
OPKG_LICENSE = GPLv2+
|
|
OPKG_LICENSE_FILES = COPYING
|
|
OPKG_INSTALL_STAGING = YES
|
|
OPKG_CONF_OPTS = --disable-curl
|
|
OPKG_AUTORECONF = YES
|
|
|
|
# Ensure directory for lockfile exists
|
|
define OPKG_CREATE_LOCKDIR
|
|
mkdir -p $(TARGET_DIR)/usr/lib/opkg
|
|
endef
|
|
|
|
ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
|
|
OPKG_CONF_OPTS += --enable-gpg
|
|
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
|
|
else
|
|
OPKG_CONF_OPTS += --disable-gpg
|
|
endif
|
|
|
|
OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
|
|
|
|
$(eval $(autotools-package))
|