alpha-quadrant/dev-php/pecl-gmagick/pecl-gmagick-2.0.6_rc1.ebuild

35 lines
618 B
Bash
Raw Normal View History

# Copyright 1999-2023 Gentoo Foundation
2014-07-28 08:23:05 +02:00
# Distributed under the terms of the GNU General Public License v2
2019-09-27 10:56:03 +02:00
EAPI=7
2014-07-28 08:23:05 +02:00
PHP_EXT_NAME="gmagick"
2018-04-05 14:42:56 +02:00
MY_PN="gmagick"
MY_PV="${PV/_rc/RC}"
MY_P="${MY_PN}-${MY_PV}"
PHP_EXT_PECL_FILENAME="${MY_P}.tgz"
USE_PHP="php7-4 php8-1 php8-2"
2014-07-28 08:23:05 +02:00
inherit php-ext-pecl-r3
2014-07-28 08:23:05 +02:00
2018-04-05 14:42:56 +02:00
KEYWORDS="~amd64 ~x86"
2014-07-28 08:23:05 +02:00
DESCRIPTION="PHP wrapper for the GraphicsMagick library."
LICENSE="PHP-3.01"
2017-05-02 14:57:25 +02:00
SLOT="7"
2014-07-28 08:23:05 +02:00
IUSE="examples"
2018-04-05 14:42:56 +02:00
DEPEND=">=media-gfx/graphicsmagick-1.3.20"
2014-07-28 08:23:05 +02:00
RDEPEND="${DEPEND}"
2018-04-05 14:42:56 +02:00
src_unpack() {
unpack ${A}
2019-09-27 10:56:03 +02:00
mv ${MY_P} ${S}
2018-04-05 14:42:56 +02:00
}
2014-07-28 08:23:05 +02:00
src_configure() {
my_conf="--with-gmagick=/usr"
php-ext-source-r3_src_configure
2014-07-28 08:23:05 +02:00
}