diff options
Diffstat (limited to 'testing')
-rw-r--r-- | testing/php-redis/APKBUILD | 38 | ||||
-rw-r--r-- | testing/php5-redis/APKBUILD | 35 |
2 files changed, 35 insertions, 38 deletions
diff --git a/testing/php-redis/APKBUILD b/testing/php-redis/APKBUILD deleted file mode 100644 index 91a1b579c2..0000000000 --- a/testing/php-redis/APKBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Contributor: Valery Kartel <valery.kartel@gmail.com> -# Maintainer: Valery Kartel <valery.kartel@gmail.com> -replaces=phpredis -pkgname=php-redis -_pkgreal=redis -pkgver=2.2.7 -_pkgver=${pkgver/_rc/RC} -pkgrel=0 -pkgdesc="PHP extension for interfacing with Redis" -url="http://pecl.php.net/package/$_pkgreal" -arch="all" -license="PHP" -depends= -pecldepends="php-dev autoconf" -makedepends="$pecldepends" -install="" -subpackages="" -source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" - -_builddir="$srcdir"/$_pkgreal-$_pkgver - -build() { - cd "$_builddir" - phpize || return 1 - ./configure --prefix=/usr || return 1 - make || return 1 -} - -package() { - cd "$_builddir" - make INSTALL_ROOT="$pkgdir"/ install || return 1 - install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini -} - -md5sums="c55839465b2c435fd091ac50923f2d96 redis-2.2.7.tgz" -sha256sums="95e5331cd7e709771eb4479c455bcf326a74b2aea3b1a5cba00b4c95e66dc902 redis-2.2.7.tgz" -sha512sums="88be2abeda62b7c1c95b6d399bbb5f97774d956001b4d13a8e5f183e86fe6336d91f479a8125adcaeff1ad5617a920953961360fc3484ebafc3ed915bcd7f86c redis-2.2.7.tgz" diff --git a/testing/php5-redis/APKBUILD b/testing/php5-redis/APKBUILD new file mode 100644 index 0000000000..9869c653ef --- /dev/null +++ b/testing/php5-redis/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +replaces=phpredis +pkgname=php5-redis +_pkgreal=redis +pkgver=2.2.8 +_pkgver=${pkgver/_rc/RC} +pkgrel=0 +pkgdesc="PHP extension for interfacing with Redis" +url="http://pecl.php.net/package/$_pkgreal" +arch="all" +license="PHP" +depends="" +pecldepends="php5-dev autoconf" +makedepends="$pecldepends" +source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" +builddir="$srcdir/$_pkgreal-$_pkgver" + +build() { + cd "$builddir" + phpize || return 1 + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$builddir" + make INSTALL_ROOT="$pkgdir"/ install || return 1 + install -d "$pkgdir"/etc/php5/conf.d || return 1 + echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php5/conf.d/$_pkgreal.ini +} + +md5sums="b6c998a6904cb89b06281e1cfb89bc4d redis-2.2.8.tgz" +sha256sums="fc533752de62848f645707b65cba9d015ab4ed9c7a978c7bd710a5934d97b1b5 redis-2.2.8.tgz" +sha512sums="a0b536dd75934797ee89d21c5a907ee730f5887a8d4cc09c70f3190b7c950f34febf3745d7263ad1fb23adb8b60b7eaf7943514dc0c05553c2b2a620277abfbf redis-2.2.8.tgz" |