Move all to deprecated folder.
This commit is contained in:
31
deprecated/firmware/buildroot/package/opkg/Config.in
Normal file
31
deprecated/firmware/buildroot/package/opkg/Config.in
Normal file
@@ -0,0 +1,31 @@
|
||||
comment "opkg needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
config BR2_PACKAGE_OPKG
|
||||
bool "opkg"
|
||||
select BR2_PACKAGE_LIBARCHIVE
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_USE_WCHAR # libarchive
|
||||
help
|
||||
Opkg is a lightweight package management system, based on ipkg. It is
|
||||
written in C and resembles apt/dpkg in operation. It is intended for
|
||||
use on embedded Linux devices.
|
||||
Opkg is maintained, stable, robust and conservative in its memory
|
||||
usage, despite its buggy ipkg ancestry. As best it can, opkg
|
||||
maintains backwards compatibility with ipkg and conforms to a subset
|
||||
of debian's policy manual regarding control files.
|
||||
|
||||
http://code.google.com/p/opkg/
|
||||
|
||||
if BR2_PACKAGE_OPKG
|
||||
|
||||
config BR2_PACKAGE_OPKG_GPG_SIGN
|
||||
bool "gnupg support"
|
||||
select BR2_PACKAGE_LIBGPGME
|
||||
select BR2_PACKAGE_LIBGPG_ERROR
|
||||
help
|
||||
Enable opkg package signature checking support using
|
||||
gnupg/libgpgme.
|
||||
|
||||
endif
|
||||
35
deprecated/firmware/buildroot/package/opkg/opkg.mk
Normal file
35
deprecated/firmware/buildroot/package/opkg/opkg.mk
Normal file
@@ -0,0 +1,35 @@
|
||||
################################################################################
|
||||
#
|
||||
# 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
|
||||
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 \
|
||||
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))
|
||||
Reference in New Issue
Block a user