aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-05-05 12:30:39 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-05-05 15:43:07 +0000
commitededfd778202738bfc326b17bee3e3810d65a072 (patch)
treeeb94d15ff275530bfc911f1152f192c8e6878401
parent59f6aa93787fa68ce578e1d307cb4456fea6dd0b (diff)
downloadaports-ededfd778202738bfc326b17bee3e3810d65a072.tar.bz2
aports-ededfd778202738bfc326b17bee3e3810d65a072.tar.xz
main/php5-xcache: rename php to php5
-rw-r--r--main/php5-xcache/APKBUILD (renamed from main/php-xcache/APKBUILD)7
-rw-r--r--main/php5-xcache/xcache.ini (renamed from main/php-xcache/xcache.ini)0
2 files changed, 4 insertions, 3 deletions
diff --git a/main/php-xcache/APKBUILD b/main/php5-xcache/APKBUILD
index a285a128cb..dad01e1d81 100644
--- a/main/php-xcache/APKBUILD
+++ b/main/php5-xcache/APKBUILD
@@ -1,5 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-pkgname=php-xcache
+_php=php5
+pkgname=${_php}-xcache
pkgver=3.2.0
pkgrel=1
pkgdesc="php opcode cacher"
@@ -7,7 +8,7 @@ url="http://xcache.lighttpd.net/"
arch="all"
license="BSD"
depends_dev=""
-makedepends="$depends_dev php-dev autoconf automake flex bison gawk"
+makedepends="$depends_dev ${_php}-dev autoconf automake flex bison gawk"
install=""
subpackages=""
source="http://xcache.lighttpd.net/pub/Releases/$pkgver/xcache-$pkgver.tar.gz
@@ -44,7 +45,7 @@ package() {
cd "$_builddir"
make -j1 install INSTALL_ROOT="$pkgdir" || return 1
install -Dm644 "$srcdir"/xcache.ini \
- "$pkgdir"/etc/php/conf.d/xcache.ini || return 1
+ "$pkgdir"/etc/$_php/conf.d/xcache.ini || return 1
}
md5sums="8b0a6f27de630c4714ca261480f34cda xcache-3.2.0.tar.gz
diff --git a/main/php-xcache/xcache.ini b/main/php5-xcache/xcache.ini
index b814dbce11..b814dbce11 100644
--- a/main/php-xcache/xcache.ini
+++ b/main/php5-xcache/xcache.ini