Ebuild con dependencia de PDO
This commit is contained in:
parent
5511b50f78
commit
adea78a5e3
2 changed files with 44 additions and 0 deletions
|
@ -3,3 +3,4 @@ AUX PDO_DBLIB-1.0-config.patch 1367 BLAKE2B 381febc122693ecb492171cb6dfeca534dcb
|
|||
AUX PDO_DBLIB-1.0-php7.patch 1130 BLAKE2B f9c2bb13bb27acb750b575fc0d8670046f389430e606cb0596c62f3145850bb902786d66539c05e95bf830dc51133c8a271186d07682744597107dbbe749eabf SHA512 b68cfb2d44ff42d920953c8cb35d3d13bf5c33f1b9ccf9f3df071c2023a3731990a240a1219528c03cb95ee0ced2d5b603ccc852502a43c719bf401b1939b3be
|
||||
DIST PDO_DBLIB-1.0.tgz 8184 BLAKE2B b93dedd5c6596ba623fe862a8f8509112a999561caf935889b52a3dab44dfa30bf756b2aa49f7b84f7e8401119c42849c51898c3db6fab6a9111f14c57d790df SHA512 4b0e430812b8f7b10b574a17ea58ad6df1c4fef8300750a9ec6dd0568b5a6dd10c8bb928bd0875ef5f09a0c43c87a4c1464d1449d64d3496de9121d9f0351b8a
|
||||
EBUILD pecl-PDO_DBLIB-1.0-r2.ebuild 1006 BLAKE2B 758ac8e05380906f048d72d46c556546e1b31a50283795e50826e70cbd17658f75c7f84549f5c421e1b18846abce1903fb935688f2cbbfe0147c51c3ae12aa1b SHA512 2fb47e16ab4fe8038f670a8f367a80fef272b5952eee64859d93f9c428c51752fd3d318ab1ea2d547e70788ecb003f44b42ef194c76de538d6bc492e03809b0b
|
||||
EBUILD pecl-PDO_DBLIB-1.0-r3.ebuild 979 BLAKE2B 1d10e9324a36869177a9968886fcbb445c8eecbee071ef890d64769eec89ce6759a5e99630cf8080d9129d65fbbacd43f174d0c604af6df2a6379586c77369f8 SHA512 0cec9f99d5189c0be91b767397d96f6eb233e4b86c4edafec5b882cdedd4ad9331da8912e2ef48659980a6e8cbd1df40ea62b6b07e308d7dce05c31db40d2b4f
|
||||
|
|
43
dev-php/pecl-PDO_DBLIB/pecl-PDO_DBLIB-1.0-r3.ebuild
Normal file
43
dev-php/pecl-PDO_DBLIB/pecl-PDO_DBLIB-1.0-r3.ebuild
Normal file
|
@ -0,0 +1,43 @@
|
|||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=7
|
||||
|
||||
PHP_EXT_NAME="pdo_dblib"
|
||||
PHP_EXT_INI="yes"
|
||||
PHP_EXT_ZENDEXT="no"
|
||||
|
||||
USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3 php7-4 "
|
||||
|
||||
inherit php-ext-pecl-r3
|
||||
|
||||
DESCRIPTION="PHP bindings for the Free TDS library"
|
||||
LICENSE="PHP-3.01"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
DEPEND="
|
||||
>=dev-db/freetds-0.91:=[iodbc]
|
||||
>=dev-lang/php-5.6.0:=[pdo]
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eapply ${FILESDIR}/PDO_DBLIB-1.0-config.patch
|
||||
eapply ${FILESDIR}/PDO_DBLIB-1.0-compile.patch
|
||||
if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 || use php_targets_php7-4 ; then
|
||||
eapply ${FILESDIR}/PDO_DBLIB-1.0-php7.patch
|
||||
fi
|
||||
php-ext-source-r3_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if { use amd64; }; then
|
||||
config+=" --with-libdir=/usr/lib64"
|
||||
fi
|
||||
for slot in $(php_get_slots); do
|
||||
php_init_slot_env ${slot}
|
||||
econf ${config}
|
||||
done
|
||||
}
|
Loading…
Reference in a new issue