[Mod] First commit

This commit is contained in:
2022-10-31 22:18:58 +08:00
commit 1c8a3d9709
13090 changed files with 526733 additions and 0 deletions

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_PHP_SSH2
bool "php-ssh2"
select BR2_PACKAGE_LIBSSH2
help
PHP bindings for the libssh2 library.
http://pecl.php.net/package/ssh2

View File

@ -0,0 +1,3 @@
# Locally calculated
sha256 9093a1f8d24dc65836027b0e239c50de8d5eaebf8396bc3331fdd38c5d69afd9 ssh2-1.3.1.tgz
sha256 ac7c56f1e416ce6e60abcf26269395128bc9e5a2e4f3293e5dcc124aac606508 LICENSE

View File

@ -0,0 +1,26 @@
################################################################################
#
# php-ssh2
#
################################################################################
PHP_SSH2_VERSION = 1.3.1
PHP_SSH2_SOURCE = ssh2-$(PHP_SSH2_VERSION).tgz
PHP_SSH2_SITE = https://pecl.php.net/get
PHP_SSH2_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
--with-ssh2=$(STAGING_DIR)/usr
# phpize does the autoconf magic
PHP_SSH2_DEPENDENCIES = libssh2 php host-autoconf
PHP_SSH2_LICENSE = PHP-3.01
PHP_SSH2_LICENSE_FILES = LICENSE
define PHP_SSH2_PHPIZE
(cd $(@D); \
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
$(STAGING_DIR)/usr/bin/phpize)
endef
PHP_SSH2_PRE_CONFIGURE_HOOKS += PHP_SSH2_PHPIZE
$(eval $(autotools-package))