af31c309e7
We want to use SPDX identifier for license strings as much as possible. SPDX short identifier for GPLv2/GPLv2+ is GPL-2.0/GPL-2.0+. This change is done by using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/\<GPLv2\>/GPL-2.0/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
36 lines
988 B
Makefile
36 lines
988 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 libarchive
|
|
OPKG_LICENSE = GPL-2.0+
|
|
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))
|