Initial Commit
- initial default booting image
This commit is contained in:
19
package/opensc/Config.in
Normal file
19
package/opensc/Config.in
Normal file
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_OPENSC
|
||||
bool "opensc"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # pcsc-lite
|
||||
select BR2_PACKAGE_PCSC_LITE
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_DES if BR2_PACKAGE_LIBOPENSSL
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160 if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
OpenSC provides a set of libraries and utilities to work
|
||||
with smart cards.
|
||||
|
||||
https://github.com/OpenSC/OpenSC/wiki
|
||||
|
||||
comment "opensc needs a toolchain with dynamic library, threads, gcc >= 4.9"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
5
package/opensc/opensc.hash
Normal file
5
package/opensc/opensc.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# From https://github.com/OpenSC/OpenSC/releases/tag/0.27.1
|
||||
sha256 976f4a23eaf3397a1a2c3a7aac80bf971a8c3d829c9a79f06145bfaeeae5eca7 opensc-0.27.1.tar.gz
|
||||
|
||||
# Computed locally
|
||||
sha256 376b54d4c5f4aa99421823fa4da93e3ab73096fce2400e89858632aa7da24a14 COPYING
|
||||
30
package/opensc/opensc.mk
Normal file
30
package/opensc/opensc.mk
Normal file
@@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# opensc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OPENSC_VERSION = 0.27.1
|
||||
OPENSC_SITE = https://github.com/OpenSC/OpenSC/releases/download/$(OPENSC_VERSION)
|
||||
OPENSC_LICENSE = LGPL-2.1+
|
||||
OPENSC_LICENSE_FILES = COPYING
|
||||
OPENSC_CPE_ID_VALID = YES
|
||||
OPENSC_DEPENDENCIES = pcsc-lite
|
||||
OPENSC_INSTALL_STAGING = YES
|
||||
OPENSC_CONF_OPTS = --disable-cmocka --disable-strict --disable-tests
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
OPENSC_DEPENDENCIES += openssl
|
||||
OPENSC_CONF_OPTS += --enable-openssl
|
||||
else
|
||||
OPENSC_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_ZLIB),y)
|
||||
OPENSC_DEPENDENCIES += zlib
|
||||
OPENSC_CONF_OPTS += --enable-zlib
|
||||
else
|
||||
OPENSC_CONF_OPTS += --disable-zlib
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user