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
|
|
|
|
2013-10-05 20:58:42 +02:00
|
|
|
OPKG_VERSION = v0.2.0
|
|
|
|
OPKG_SOURCE = $(OPKG_VERSION).tar.bz2
|
|
|
|
OPKG_SITE = https://bitbucket.org/opkg/opkg/get
|
|
|
|
# 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
|
2013-03-01 14:38:29 +01:00
|
|
|
OPKG_CONF_OPT = --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)
|
|
|
|
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
|
|
|
|
|
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))
|