Browse Source

Merge pull request #14914 from cotequeiroz/php7-pecl-imagick

php7-pecl-imagick, imagemagick: save & use MagickWand-config
lilik-openwrt-22.03
Rosen Penev 4 years ago
committed by GitHub
parent
commit
8fbff0ec68
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions
  1. +3
    -1
      lang/php7-pecl-imagick/Makefile
  2. +8
    -1
      multimedia/imagemagick/Makefile

+ 3
- 1
lang/php7-pecl-imagick/Makefile View File

@ -9,7 +9,7 @@ PECL_NAME:=imagick
PECL_LONGNAME:=Image Processing (ImageMagick binding)
PKG_VERSION:=3.4.4
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_HASH:=8dd5aa16465c218651fc8993e1faecd982e6a597870fd4b937e9ece02d567077
PKG_NAME:=php7-pecl-imagick
@ -29,5 +29,7 @@ include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/nls.mk
include ../php7/pecl.mk
CONFIGURE_ARGS+= --with-imagick="$(STAGING_DIR)/usr"
$(eval $(call PHP7PECLPackage,imagick,$(PECL_LONGNAME),+imagemagick,30))
$(eval $(call BuildPackage,$(PKG_NAME)))

+ 8
- 1
multimedia/imagemagick/Makefile View File

@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=imagemagick
PKG_VERSION:=7.0.9
PKG_REVISION:=5
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_MAINTAINER:=Val Kulkov <val.kulkov@gmail.com>
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_REVISION).tar.gz
@ -126,6 +126,13 @@ define Build/InstallDev
$(INSTALL_DATA) \
$(PKG_INSTALL_DIR)/usr/lib/pkgconfig/* \
$(1)/usr/lib/pkgconfig/
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) \
$(PKG_INSTALL_DIR)/usr/bin/*-config \
$(1)/usr/bin/
$(SED) 's|prefix=/usr|prefix=$(STAGING_DIR)/usr|' \
$(1)/usr/bin/*-config
endef
IMlibdir:=usr/lib/ImageMagick-$(PKG_VERSION)


Loading…
Cancel
Save