Move buildroot to bsp directory.

This commit is contained in:
2016-11-16 22:05:33 +01:00
parent 317c040ea8
commit 807ab03547
7408 changed files with 0 additions and 0 deletions

View 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

View File

@@ -0,0 +1,2 @@
# Locally calculated
sha256 600c82d2393acf3642f19914f06a7afea57ee05cb8c10e8a5510b32188b97f99 ssh2-0.12.tgz

View 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))