diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2015-11-06 23:49:04 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-11-10 13:15:59 +0000 |
commit | 325ca9b2eb2ac212407d38e698f3591995c5fe9d (patch) | |
tree | b44edeb4c0ace63e4a620bf08ceb5efb8b64d83a /testing/php-rrd | |
parent | 48afdc0d376311b444b357e824bb636211268ec5 (diff) | |
download | aports-325ca9b2eb2ac212407d38e698f3591995c5fe9d.tar.bz2 aports-325ca9b2eb2ac212407d38e698f3591995c5fe9d.tar.xz |
testing/php-rrd: APKBUILD recreated with apkbuild-pecl. No rebuild needed.
Diffstat (limited to 'testing/php-rrd')
-rw-r--r-- | testing/php-rrd/APKBUILD | 30 |
1 files changed, 11 insertions, 19 deletions
diff --git a/testing/php-rrd/APKBUILD b/testing/php-rrd/APKBUILD index e1c229a70a..ba235d7fea 100644 --- a/testing/php-rrd/APKBUILD +++ b/testing/php-rrd/APKBUILD @@ -1,30 +1,22 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> # Maintainer: Diaz Devera Victor <vitronic2@gmail.com> - pkgname=php-rrd +_pkgreal=rrd pkgver=1.1.3 +_pkgver=${pkgver/_rc/RC} pkgrel=0 -pkgdesc="PHP bindings to rrd tool system" -url="http://pecl.php.net/package/rrd" +pkgdesc="PHP extension that provides bindings to rrd tool system" +url="http://pecl.php.net/package/$_pkgreal" arch="all" license="PHP" depends= -depends_dev="php-dev" -makedepends="$depends_dev rrdtool-dev autoconf" +pecldepends="php-dev autoconf" +makedepends="$pecldepends rrdtool-dev" install="" subpackages="" -source="http://pecl.php.net/get/rrd-$pkgver.tgz" - -_builddir="$srcdir/rrd-$pkgver" +source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz" -prepare() { - local i - cd "$_builddir" - for i in $source; do - case $i in - *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; - esac - done -} +_builddir="$srcdir"/$_pkgreal-$_pkgver build() { cd "$_builddir" @@ -35,9 +27,9 @@ build() { package() { cd "$_builddir" - make INSTALL_ROOT="$pkgdir/" install || return 1 + make INSTALL_ROOT="$pkgdir"/ install || return 1 install -d "$pkgdir"/etc/php/conf.d || return 1 - echo "extension=rrd.so" > "$pkgdir"/etc/php/conf.d/rrd.ini + echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini } md5sums="bde6c50fa2aa39090ed22e574ac71c5a rrd-1.1.3.tgz" |