From b47caf3af9aa5bc3ae96ef3fade5dcb8ab5a66f3 Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Mon, 11 Apr 2011 00:19:23 -0500 Subject: testing/php-pear-mdb2: renamed driver subpackages to php-pear-mdb2-driver-* --- testing/php-pear-mdb2/APKBUILD | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/testing/php-pear-mdb2/APKBUILD b/testing/php-pear-mdb2/APKBUILD index 16c558fd4..06dab5fa3 100644 --- a/testing/php-pear-mdb2/APKBUILD +++ b/testing/php-pear-mdb2/APKBUILD @@ -4,7 +4,7 @@ pkgname=php-pear-mdb2 _pkgname=MDB2 pkgver=2.5.0b3 _driver_ver=1.5.0b3 -pkgrel=0 +pkgrel=1 pkgdesc="PEAR MDB2 Database Abstraction Layer" url="http://pear.php.net/package/MDB2/" arch="noarch" @@ -13,15 +13,20 @@ depends="php-pear" depends_dev= makedepends="$depends_dev php-pear" install="" -subpackages="$pkgname-mysql $pkgname-mysqli $pkgname-pgsql $pkgname-sqlite" +subpackages=" + $pkgname-driver-mysql:driver_mysql + $pkgname-driver-mysqli:driver_mysqli + $pkgname-driver-pgsql:driver_pgsql + $pkgname-driver-sqlite:driver_sqlite + " source="" -build() { return 0; } -package() { _pear_install $_pkgname-$pkgver "$pkgdir" || return 1; } -mysql() { _do_driver mysql "mysql php-mysql" noarch; } -mysqli() { _do_driver mysqli "mysql php-mysqli" noarch; } -pgsql() { _do_driver pgsql "postgresql php-pgsql" noarch; } -sqlite() { _do_driver sqlite "php-sqlite" noarch; } +build() { return 0; } +package() { _pear_install $_pkgname-$pkgver "$pkgdir" || return 1; } +driver_mysql() { _do_driver mysql "mysql php-mysql" noarch; } +driver_mysqli() { _do_driver mysqli "mysql php-mysqli" noarch; } +driver_pgsql() { _do_driver pgsql "postgresql php-pgsql" noarch; } +driver_sqlite() { _do_driver sqlite "php-sqlite" noarch; } _pear_install() { -- cgit v1.2.3