Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ext-ast php 8.0 #151

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 40 additions & 0 deletions scripts/v3.11/php-8.0/php8-ast/APKBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Maintainer: "Diego Hernandes <[email protected]>"

pkgname=php8-ast
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=ast
pkgver=1.0.16
pkgrel=1
_phpver=8
provides="php-ast=8.0"
pkgdesc="ast - Extension exposing PHP 7 abstract syntax tree"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php8-common>=8.0.0 php8-common<8.1.0"
makedepends="php8-dev>=8.0.0 php8-dev<8.1.0 autoconf pcre-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="44b7bb5f752161831f5342283a491eff76e05e96f6679ff63ef20ef9192380290863d8689e4b5949af2eaf010f226c7f4b72a36625715a5a7e29867c1c78e121 ast-1.0.16.tgz"
40 changes: 40 additions & 0 deletions scripts/v3.12/php-8.0/php8-ast/APKBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Maintainer: "Diego Hernandes <[email protected]>"

pkgname=php8-ast
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=ast
pkgver=1.0.16
pkgrel=1
_phpver=8
provides="php-ast=8.0"
pkgdesc="ast - Extension exposing PHP 7 abstract syntax tree"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php8-common>=8.0.0 php8-common<8.1.0"
makedepends="php8-dev>=8.0.0 php8-dev<8.1.0 autoconf pcre-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="44b7bb5f752161831f5342283a491eff76e05e96f6679ff63ef20ef9192380290863d8689e4b5949af2eaf010f226c7f4b72a36625715a5a7e29867c1c78e121 ast-1.0.16.tgz"
40 changes: 40 additions & 0 deletions scripts/v3.13/php-8.0/php8-ast/APKBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Maintainer: "Diego Hernandes <[email protected]>"

pkgname=php8-ast
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=ast
pkgver=1.0.16
pkgrel=1
_phpver=8
provides="php-ast=8.0"
pkgdesc="ast - Extension exposing PHP 7 abstract syntax tree"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php8-common>=8.0.0 php8-common<8.1.0"
makedepends="php8-dev>=8.0.0 php8-dev<8.1.0 autoconf pcre-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="44b7bb5f752161831f5342283a491eff76e05e96f6679ff63ef20ef9192380290863d8689e4b5949af2eaf010f226c7f4b72a36625715a5a7e29867c1c78e121 ast-1.0.16.tgz"
40 changes: 40 additions & 0 deletions scripts/v3.14/php-8.0/php8-ast/APKBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Maintainer: "Diego Hernandes <[email protected]>"

pkgname=php8-ast
srcdir="/tmp/src-$pkgname"
pkgbasedir="/tmp/pkg-$pkgname"
_pkgreal=ast
pkgver=1.0.16
pkgrel=1
_phpver=8
provides="php-ast=8.0"
pkgdesc="ast - Extension exposing PHP 7 abstract syntax tree"
url="http://pecl.php.net/package/$_pkgreal"
arch="all"
license="PHP-3"
depends="php8-common>=8.0.0 php8-common<8.1.0"
makedepends="php8-dev>=8.0.0 php8-dev<8.1.0 autoconf pcre-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="44b7bb5f752161831f5342283a491eff76e05e96f6679ff63ef20ef9192380290863d8689e4b5949af2eaf010f226c7f4b72a36625715a5a7e29867c1c78e121 ast-1.0.16.tgz"