diff options
author | Valery Kartel <valery.kartel@gmail.com> | 2018-08-17 17:22:00 +0300 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-08-17 19:06:01 +0300 |
commit | 3aa7385bcb1c7ad6b80116ab3e996b43820e346e (patch) | |
tree | f4c8bc2d513f6d8bd0ff984574333e9b94d3338a /community/php7-phalcon | |
parent | 6c9915aaa5500a3fdecd689b88b2691f14ee1ce3 (diff) | |
download | aports-3aa7385bcb1c7ad6b80116ab3e996b43820e346e.tar.bz2 aports-3aa7385bcb1c7ad6b80116ab3e996b43820e346e.tar.xz |
community/php7-phalcon: move from testing
Diffstat (limited to 'community/php7-phalcon')
-rw-r--r-- | community/php7-phalcon/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/php7-phalcon/APKBUILD b/community/php7-phalcon/APKBUILD new file mode 100644 index 0000000000..eae2d27981 --- /dev/null +++ b/community/php7-phalcon/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Valery Kartel <valery.kartel@gmail.com> +pkgname=php7-phalcon +_pkgext=phalcon +_pkgreal=cphalcon +pkgver=3.4.1 +_pkgver=${pkgver/_rc/RC} +pkgrel=0 +pkgdesc="High performance, full-stack PHP framework delivered as a C extension" +url="https://github.com/phalcon/cphalcon" +arch="all" +options="!check" # It needs some external services to run checks +license="BSD-3-Clause" +depends="php7-curl php7-fileinfo php7-gettext php7-json php7-mbstring php7-openssl php7-pdo" +makedepends="php7-dev autoconf pcre-dev gd-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/phalcon/$_pkgreal/archive/v$_pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$_pkgver/build/${pkgname%%-*}/safe" + +build() { + cd "$builddir" + phpize7 + ./configure --prefix=/usr --with-php-config=/usr/bin/php-config7 + make +} + +package() { + cd "$builddir" + make INSTALL_ROOT="$pkgdir/" install + rm -fr "$pkgdir/usr/include" + install -d "$pkgdir"/etc/php7/conf.d + echo "extension=$_pkgext.so" > "$pkgdir"/etc/php7/conf.d/$_pkgext.ini +} + +sha512sums="9183cdbc78fabc04f9eb91d3e18dc0523b5fa4de77f8bb1432c731567a5f7775ba6425819c7340987f0089bf05342b98cb226e54291a263409c205289b61828c php7-phalcon-3.4.1.tar.gz" |