fb74bc78fb
opkg has released a new version v0.2.0. The opkg community is also on the way to switching completely from subversion to git. The current git repository is placed on Bitbucket and will probably move once again if there will be find a new home for the project. https://bitbucket.org/opkg/opkg The new version 0.2.0 is almost a bugfixing release with a lot of small changes. This patch is adding the license info too. Signed-off-by: Carsten Schoenert <c.schoenert@gmail.com>
34 lines
901 B
Makefile
34 lines
901 B
Makefile
################################################################################
|
|
#
|
|
# opkg
|
|
#
|
|
################################################################################
|
|
|
|
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
|
|
OPKG_INSTALL_STAGING = YES
|
|
OPKG_CONF_OPT = --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_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
|
|
|
|
OPKG_POST_INSTALL_TARGET_HOOKS += OPKG_CREATE_LOCKDIR
|
|
|
|
$(eval $(autotools-package))
|