diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2016-06-18 18:35:48 +0300 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-06-18 21:12:16 +0200 |
commit | 5f74b23ad5816d7e720f2b7b8d8c62d9eef14615 (patch) | |
tree | 93425c61f64e5453c4db1d84021bf1194cef1717 /testing/php5-memcached/APKBUILD | |
parent | 4516b36babb17662e9d904d1cc8de80ee8401f93 (diff) | |
download | aports-5f74b23ad5816d7e720f2b7b8d8c62d9eef14615.tar.bz2 aports-5f74b23ad5816d7e720f2b7b8d8c62d9eef14615.tar.xz |
testing/php5-memcached: rename abuild
Diffstat (limited to 'testing/php5-memcached/APKBUILD')
-rw-r--r-- | testing/php5-memcached/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/php5-memcached/APKBUILD b/testing/php5-memcached/APKBUILD new file mode 100644 index 0000000000..3571ea8980 --- /dev/null +++ b/testing/php5-memcached/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +pkgname=php5-memcached +_pkgreal=memcached +pkgver=2.2.0 +_pkgver=${pkgver/_rc/RC} +pkgrel=0 +pkgdesc="PHP extension for interfacing with memcached via libmemcached library" +url="http://pecl.php.net/package/$_pkgreal" +arch="all" +license="PHP" +depends="" +pecldepends="php5-dev autoconf" +makedepends="$pecldepends libmemcached-dev zlib-dev" +source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" +builddir="$srcdir/$_pkgreal-$_pkgver" + +build() { + cd "$builddir" + phpize || return 1 + ./configure \ + --prefix=/usr \ + --disable-memcached-sasl || 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="28937c6144f734e000c6300242f44ce6 memcached-2.2.0.tgz" +sha256sums="17b9600f6d4c807f23a3f5c45fcd8775ca2e61d6eda70370af2bef4c6e159f58 memcached-2.2.0.tgz" +sha512sums="61207d3f8c11b0620dbcb20fb2ebb6d1fc10159a7e879ee91556a303c3dcdf3d2571e8dda5efcbed77ff779f5c9b226aa48800630b9e7781cd964126b848c356 memcached-2.2.0.tgz" |