Commit 750c752c authored by Natanael Copa's avatar Natanael Copa

main/php5-pear-mdb2: rename php to php5

parent e3067c00
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=php-pear-mdb2
_php=php5
pkgname=${_php}-pear-mdb2
_pkgname=MDB2
pkgver=2.5.0b5
_driver_ver=1.5.0b4
......@@ -9,9 +10,9 @@ pkgdesc="PEAR MDB2 Database Abstraction Layer"
url="http://pear.php.net/package/MDB2/"
arch="noarch"
license="BSD"
depends="php-pear"
depends="${_php}-pear"
depends_dev=
makedepends="$depends_dev php-pear"
makedepends="$depends_dev ${_php}-pear"
install=""
subpackages="
$pkgname-driver-mysql:driver_mysql
......@@ -23,10 +24,10 @@ source=""
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-sqlite3" noarch; }
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}-sqlite3" noarch; }
_pear_install() {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment