Move buildroot to bsp directory.
This commit is contained in:
10
bsp/buildroot/package/php-ssh2/Config.in
Normal file
10
bsp/buildroot/package/php-ssh2/Config.in
Normal file
@@ -0,0 +1,10 @@
|
||||
config BR2_PACKAGE_PHP_SSH2
|
||||
bool "php-ssh2"
|
||||
depends on BR2_PACKAGE_PHP
|
||||
select BR2_PACKAGE_LIBSSH2
|
||||
# Triggers the _gp link issue (libssh2)
|
||||
depends on !BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_NIOSII
|
||||
help
|
||||
PHP bindings for the libssh2 library.
|
||||
|
||||
http://pecl.php.net/package/ssh2
|
||||
2
bsp/buildroot/package/php-ssh2/php-ssh2.hash
Normal file
2
bsp/buildroot/package/php-ssh2/php-ssh2.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 600c82d2393acf3642f19914f06a7afea57ee05cb8c10e8a5510b32188b97f99 ssh2-0.12.tgz
|
||||
27
bsp/buildroot/package/php-ssh2/php-ssh2.mk
Normal file
27
bsp/buildroot/package/php-ssh2/php-ssh2.mk
Normal file
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# php-ssh2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_SSH2_VERSION = 0.12
|
||||
PHP_SSH2_SOURCE = ssh2-$(PHP_SSH2_VERSION).tgz
|
||||
# pecl.php.net returns html with db connect failed
|
||||
PHP_SSH2_SITE = http://sources.buildroot.net
|
||||
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
|
||||
PHP_SSH2_LICENSE_FILES = LICENSE
|
||||
|
||||
define PHP_SSH2_PHPIZE
|
||||
(cd $(@D); \
|
||||
PHP_AUTOCONF=$(HOST_DIR)/usr/bin/autoconf \
|
||||
PHP_AUTOHEADER=$(HOST_DIR)/usr/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