aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-05 11:59:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-05 15:43:07 +0000
commit750c752ce950bd96145d2acefa4adc4a93a96c01 (patch)
tree26065b86442b0f1872f275975575a3f0c6d8ee71 /main
parente3067c006d9cae85310f4a8b90eae5e80e7f16c1 (diff)
downloadaports-750c752ce950bd96145d2acefa4adc4a93a96c01.tar.bz2
aports-750c752ce950bd96145d2acefa4adc4a93a96c01.tar.xz
main/php5-pear-mdb2: rename php to php5
Diffstat (limited to 'main')
-rw-r--r--main/php5-pear-mdb2/APKBUILD (renamed from main/php-pear-mdb2/APKBUILD)15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/php-pear-mdb2/APKBUILD b/main/php5-pear-mdb2/APKBUILD
index e251444f38..6cf66f153a 100644
--- a/main/php-pear-mdb2/APKBUILD
+++ b/main/php5-pear-mdb2/APKBUILD
@@ -1,6 +1,7 @@
# 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() {