alpha-quadrant/dev-php/pecl-gmagick/pecl-gmagick-1.1.7_rc3.ebuild

35 lines
651 B
Bash
Raw Normal View History

2014-07-28 08:23:05 +02:00
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
2014-07-28 08:23:05 +02:00
PHP_EXT_NAME="gmagick"
PHP_EXT_INI="yes"
PHP_EXT_ZENDEXT="no"
#DOCS="TODO"
2014-07-28 08:23:05 +02:00
PHP_EXT_PECL_FILENAME="${PN/pecl-/}-${PV/_rc/RC}.tgz"
2014-11-27 15:31:25 +01:00
USE_PHP="php5-4 php5-5 php5-6"
2014-07-28 08:23:05 +02:00
inherit php-ext-pecl-r3
2014-07-28 08:23:05 +02:00
KEYWORDS="amd64 x86"
DESCRIPTION="PHP wrapper for the GraphicsMagick library."
LICENSE="PHP-3.01"
2017-05-02 14:57:25 +02:00
SLOT="5"
2014-07-28 08:23:05 +02:00
IUSE="examples"
DEPEND=">=media-gfx/graphicsmagick-1.2.6"
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
mv "${WORKDIR}/gmagick-${PV/_rc/RC}" "${S}"
}
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
}