summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Smith <mcs@darkregion.net>2011-04-11 00:19:23 -0500
committerMatt Smith <mcs@darkregion.net>2011-04-11 00:19:41 -0500
commitb47caf3af9aa5bc3ae96ef3fade5dcb8ab5a66f3 (patch)
tree842cd42e5131694902b3d5373d7ecf5f4672fc10
parent3d41d015770387c83ad935e8209f225dba505bca (diff)
downloadaports-b47caf3af9aa5bc3ae96ef3fade5dcb8ab5a66f3.tar.bz2
aports-b47caf3af9aa5bc3ae96ef3fade5dcb8ab5a66f3.tar.xz
testing/php-pear-mdb2: renamed driver subpackages to php-pear-mdb2-driver-*
-rw-r--r--testing/php-pear-mdb2/APKBUILD21
1 files 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() {