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
|
|
|
|
2012-08-12 03:36:31 +02:00
|
|
|
OPKG_VERSION = 635
|
2012-05-15 10:34:23 +02:00
|
|
|
OPKG_SOURCE = opkg-$(OPKG_VERSION).tar.gz
|
2012-08-12 03:36:31 +02:00
|
|
|
OPKG_SITE = http://opkg.googlecode.com/svn/trunk/
|
|
|
|
OPKG_SITE_METHOD = svn
|
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
|
2013-01-15 07:39:15 +01:00
|
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
|
|
OPKG_DEPENDENCIES = host-pkgconf
|
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))
|