generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
7
package/php-ssh2/Config.in
Normal file
7
package/php-ssh2/Config.in
Normal 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
|
||||
3
package/php-ssh2/php-ssh2.hash
Normal file
3
package/php-ssh2/php-ssh2.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 9093a1f8d24dc65836027b0e239c50de8d5eaebf8396bc3331fdd38c5d69afd9 ssh2-1.3.1.tgz
|
||||
sha256 ac7c56f1e416ce6e60abcf26269395128bc9e5a2e4f3293e5dcc124aac606508 LICENSE
|
||||
26
package/php-ssh2/php-ssh2.mk
Normal file
26
package/php-ssh2/php-ssh2.mk
Normal 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))
|
||||
Reference in New Issue
Block a user