kumquat-buildroot/package/opkg/opkg.mk
Thomas Petazzoni 872e102386 opkg: bump to 0.2.4 and fix build failure
This commit bumps opkg to 0.2.4, and adds a new patch to fix a build
failure apparently caused by the recent bump of the libtool version:

  http://autobuild.buildroot.org/results/5fc/5fc9fa24563213d1ad77e55ab52c8e59bf21055f/

It also refreshes the existing patch, turns it into a Git formatted
patch, and fixes a typo in its title.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-12-22 09:49:15 +01:00

34 lines
890 B
Makefile

################################################################################
#
# opkg
#
################################################################################
OPKG_VERSION = v0.2.4
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
OPKG_DEPENDENCIES += libgpgme
else
OPKG_CONF_OPTS += --disable-gpg
endif
OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
$(eval $(autotools-package))