2f9bbe6599
Remove "Disable tests and manpages" patch because opkg no longer builds C tests into libopkg as of commit ef8ae066cfa898b6366198e429cbeb4c94c92939. Remove "Fix libtool issue with recent libtool" patch because the patch comments indicate that it is no longer required with opkg version 0.3.0. Select libarchive package dependency, as opkg requires it as of release opkg-0.3.0-rc0 (see the opkg NEWS file). [Thomas: add missing wchar dependency inherited from libarchive.] Signed-off-by: Vanya Sergeev <vsergeev@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
34 lines
890 B
Makefile
34 lines
890 B
Makefile
################################################################################
|
|
#
|
|
# opkg
|
|
#
|
|
################################################################################
|
|
|
|
OPKG_VERSION = v0.3.0
|
|
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))
|