initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_PHP_IMAGICK
|
||||
bool "php-imagick"
|
||||
depends on BR2_USE_MMU # imagemagick
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # imagemagick
|
||||
select BR2_PACKAGE_IMAGEMAGICK
|
||||
help
|
||||
PHP wrapper to the ImageMagick library.
|
||||
|
||||
http://pecl.php.net/package/imagick
|
||||
|
||||
comment "php-imagemagick needs a toolchain w/ threads"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 795db7c36fbacd3d33a4f53ff2d38584c846e80a04dcd04c55e9e46c28f5d229 imagick-3.5.0.tgz
|
||||
sha256 b6e00df9cb3b91977c0d64a7c4db48cb6f5041f6eeda6583c236775f70a35b78 LICENSE
|
||||
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# php-imagick
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PHP_IMAGICK_VERSION = 3.5.0
|
||||
PHP_IMAGICK_SOURCE = imagick-$(PHP_IMAGICK_VERSION).tgz
|
||||
PHP_IMAGICK_SITE = http://pecl.php.net/get
|
||||
PHP_IMAGICK_CONF_OPTS = --with-php-config=$(STAGING_DIR)/usr/bin/php-config \
|
||||
--with-imagick=$(STAGING_DIR)/usr
|
||||
# phpize does the autoconf magic
|
||||
PHP_IMAGICK_DEPENDENCIES = imagemagick php host-autoconf
|
||||
PHP_IMAGICK_LICENSE = PHP-3.01
|
||||
PHP_IMAGICK_LICENSE_FILES = LICENSE
|
||||
PHP_IMAGICK_CPE_ID_VENDOR = php
|
||||
PHP_IMAGICK_CPE_ID_PRODUCT = imagick
|
||||
|
||||
define PHP_IMAGICK_PHPIZE
|
||||
(cd $(@D); \
|
||||
PHP_AUTOCONF=$(HOST_DIR)/bin/autoconf \
|
||||
PHP_AUTOHEADER=$(HOST_DIR)/bin/autoheader \
|
||||
$(STAGING_DIR)/usr/bin/phpize)
|
||||
endef
|
||||
|
||||
PHP_IMAGICK_PRE_CONFIGURE_HOOKS += PHP_IMAGICK_PHPIZE
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user