Unverified Commit 775bf7b0 authored by Diego Hernandes's avatar Diego Hernandes Committed by GitHub
Browse files

Merge pull request #121 from codecasts/master

publish pcov extension
parents f1f0b4f5 8c46ad4f
......@@ -180,8 +180,9 @@ This is the complete available packages list:
| `php-memcached` | Extra Extension |
| `php-mongodb` | Extra Extension |
| `php-msgpack` | Extra Extension |
| `php-psr` | Extra Extension |
| `php-pcov` | Extra Extension |
| `php-phalcon` | Extra Extension |
| `php-psr` | Extra Extension |
| `php-redis` | Extra Extension |
| `php-ssh2` | Extra Extension |
| `php-swoole` | Extra Extension |
......
# Maintainer: "Diego Hernandes <iamhernandev@gmail.com>"
pkgname=php7-pcov
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=pcov
pkgver=1.0.6
pkgrel=1
_phpver=7
provides="php-pcov=7.3"
pkgdesc="A self contained php-code-coverage compatible driver for PHP7"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php7-common>=7.3.0 php7-common<7.4.0"
makedepends="php7-dev>=7.3.0 php7-dev<7.4.0 autoconf pcre2-dev"
source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
}
build() {
cd "$builddir"
phpize$_phpver || return 1
./configure --prefix=/usr \
--with-php-config=/usr/bin/php-config$_phpver || return 1
make || return 1
}
package() {
mkdir -p "$pkgdir" || return 1
install -d $pkgdir/ || return 1
make -C "$builddir" INSTALL_ROOT="$pkgdir" install || return 1
install -d "$pkgdir"/etc/php$_phpver/conf.d || return 1
echo "extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
}
sha512sums="4e715ad52a89e2a3226b23520e8ea3410288de96c3a3a08840e94628f5e4d0716392188d72247751e4cd1327deb2a11269081c089d6a455d214adbec59d8632f pcov-1.0.6.tgz"
# Maintainer: "Diego Hernandes <iamhernandev@gmail.com>"
pkgname=php7-pcov
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=pcov
pkgver=1.0.6
pkgrel=1
_phpver=7
provides="php-pcov=7.4"
pkgdesc="A self contained php-code-coverage compatible driver for PHP7"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php7-common>=7.4.0 php7-common<7.5.0"
makedepends="php7-dev>=7.4.0 php7-dev<7.5.0 autoconf pcre2-dev"
source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
}
build() {
cd "$builddir"
phpize$_phpver || return 1
./configure --prefix=/usr \
--with-php-config=/usr/bin/php-config$_phpver || return 1
make || return 1
}
package() {
mkdir -p "$pkgdir" || return 1
install -d $pkgdir/ || return 1
make -C "$builddir" INSTALL_ROOT="$pkgdir" install || return 1
install -d "$pkgdir"/etc/php$_phpver/conf.d || return 1
echo "extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
}
sha512sums="4e715ad52a89e2a3226b23520e8ea3410288de96c3a3a08840e94628f5e4d0716392188d72247751e4cd1327deb2a11269081c089d6a455d214adbec59d8632f pcov-1.0.6.tgz"
# Maintainer: "Diego Hernandes <iamhernandev@gmail.com>"
pkgname=php7-pcov
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=pcov
pkgver=1.0.6
pkgrel=1
_phpver=7
provides="php-pcov=7.3"
pkgdesc="A self contained php-code-coverage compatible driver for PHP7"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php7-common>=7.3.0 php7-common<7.4.0"
makedepends="php7-dev>=7.3.0 php7-dev<7.4.0 autoconf pcre2-dev"
source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
}
build() {
cd "$builddir"
phpize$_phpver || return 1
./configure --prefix=/usr \
--with-php-config=/usr/bin/php-config$_phpver || return 1
make || return 1
}
package() {
mkdir -p "$pkgdir" || return 1
install -d $pkgdir/ || return 1
make -C "$builddir" INSTALL_ROOT="$pkgdir" install || return 1
install -d "$pkgdir"/etc/php$_phpver/conf.d || return 1
echo "extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
}
sha512sums="4e715ad52a89e2a3226b23520e8ea3410288de96c3a3a08840e94628f5e4d0716392188d72247751e4cd1327deb2a11269081c089d6a455d214adbec59d8632f pcov-1.0.6.tgz"
# Maintainer: "Diego Hernandes <iamhernandev@gmail.com>"
pkgname=php7-pcov
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=pcov
pkgver=1.0.6
pkgrel=1
_phpver=7
provides="php-pcov=7.4"
pkgdesc="A self contained php-code-coverage compatible driver for PHP7"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php7-common>=7.4.0 php7-common<7.5.0"
makedepends="php7-dev>=7.4.0 php7-dev<7.5.0 autoconf pcre2-dev"
source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
}
build() {
cd "$builddir"
phpize$_phpver || return 1
./configure --prefix=/usr \
--with-php-config=/usr/bin/php-config$_phpver || return 1
make || return 1
}
package() {
mkdir -p "$pkgdir" || return 1
install -d $pkgdir/ || return 1
make -C "$builddir" INSTALL_ROOT="$pkgdir" install || return 1
install -d "$pkgdir"/etc/php$_phpver/conf.d || return 1
echo "extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
}
sha512sums="4e715ad52a89e2a3226b23520e8ea3410288de96c3a3a08840e94628f5e4d0716392188d72247751e4cd1327deb2a11269081c089d6a455d214adbec59d8632f pcov-1.0.6.tgz"
# Maintainer: "Diego Hernandes <iamhernandev@gmail.com>"
pkgname=php7-pcov
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=pcov
pkgver=1.0.6
pkgrel=1
_phpver=7
provides="php-pcov=7.4"
pkgdesc="A self contained php-code-coverage compatible driver for PHP7"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php7-common>=7.4.0 php7-common<7.5.0"
makedepends="php7-dev>=7.4.0 php7-dev<7.5.0 autoconf pcre2-dev"
source="http://pecl.php.net/get/$_pkgreal-$pkgver.tgz"
builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
default_prepare || return 1
}
build() {
cd "$builddir"
phpize$_phpver || return 1
./configure --prefix=/usr \
--with-php-config=/usr/bin/php-config$_phpver || return 1
make || return 1
}
package() {
mkdir -p "$pkgdir" || return 1
install -d $pkgdir/ || return 1
make -C "$builddir" INSTALL_ROOT="$pkgdir" install || return 1
install -d "$pkgdir"/etc/php$_phpver/conf.d || return 1
echo "extension=$_pkgreal" > "$pkgdir"/etc/php$_phpver/conf.d/00_$_pkgreal.ini || return 1
}
sha512sums="4e715ad52a89e2a3226b23520e8ea3410288de96c3a3a08840e94628f5e4d0716392188d72247751e4cd1327deb2a11269081c089d6a455d214adbec59d8632f pcov-1.0.6.tgz"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment