diff --git a/scripts/v3.11/php-8.0/php8-ds/APKBUILD b/scripts/v3.11/php-8.0/php8-ds/APKBUILD new file mode 100644 index 0000000..df59369 --- /dev/null +++ b/scripts/v3.11/php-8.0/php8-ds/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: "Diego Hernandes " + +pkgname=php8-ds +srcdir="/tmp/src-$pkgname" +pkgbasedir="/tmp/pkg-$pkgname" +_pkgreal=ds +pkgver=1.3.0 +pkgrel=1 +_phpver=8 +provides="php-ds=8.0" +pkgdesc="Data Structures" +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 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="65b4a8aaed63afb68a47af6563f59596e30ab26ec53760d9c0059020149b057690da0d6eb4c3bd415471264f7c428b1d80a0629d552fb693da556f0b02038b28 ds-1.3.0.tgz" diff --git a/scripts/v3.12/php-8.0/php8-ds/APKBUILD b/scripts/v3.12/php-8.0/php8-ds/APKBUILD new file mode 100644 index 0000000..df59369 --- /dev/null +++ b/scripts/v3.12/php-8.0/php8-ds/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: "Diego Hernandes " + +pkgname=php8-ds +srcdir="/tmp/src-$pkgname" +pkgbasedir="/tmp/pkg-$pkgname" +_pkgreal=ds +pkgver=1.3.0 +pkgrel=1 +_phpver=8 +provides="php-ds=8.0" +pkgdesc="Data Structures" +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 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="65b4a8aaed63afb68a47af6563f59596e30ab26ec53760d9c0059020149b057690da0d6eb4c3bd415471264f7c428b1d80a0629d552fb693da556f0b02038b28 ds-1.3.0.tgz" diff --git a/scripts/v3.13/php-8.0/php8-ds/APKBUILD b/scripts/v3.13/php-8.0/php8-ds/APKBUILD new file mode 100644 index 0000000..df59369 --- /dev/null +++ b/scripts/v3.13/php-8.0/php8-ds/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: "Diego Hernandes " + +pkgname=php8-ds +srcdir="/tmp/src-$pkgname" +pkgbasedir="/tmp/pkg-$pkgname" +_pkgreal=ds +pkgver=1.3.0 +pkgrel=1 +_phpver=8 +provides="php-ds=8.0" +pkgdesc="Data Structures" +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 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="65b4a8aaed63afb68a47af6563f59596e30ab26ec53760d9c0059020149b057690da0d6eb4c3bd415471264f7c428b1d80a0629d552fb693da556f0b02038b28 ds-1.3.0.tgz" diff --git a/scripts/v3.14/php-8.0/php8-ds/APKBUILD b/scripts/v3.14/php-8.0/php8-ds/APKBUILD new file mode 100644 index 0000000..df59369 --- /dev/null +++ b/scripts/v3.14/php-8.0/php8-ds/APKBUILD @@ -0,0 +1,40 @@ +# Maintainer: "Diego Hernandes " + +pkgname=php8-ds +srcdir="/tmp/src-$pkgname" +pkgbasedir="/tmp/pkg-$pkgname" +_pkgreal=ds +pkgver=1.3.0 +pkgrel=1 +_phpver=8 +provides="php-ds=8.0" +pkgdesc="Data Structures" +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 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="65b4a8aaed63afb68a47af6563f59596e30ab26ec53760d9c0059020149b057690da0d6eb4c3bd415471264f7c428b1d80a0629d552fb693da556f0b02038b28 ds-1.3.0.tgz"