php-zip: initial release, version 7.4.2

This commit is contained in:
Juergen Daubert 2020-02-15 14:01:02 +01:00
parent a0314de6b3
commit ca4677b1e1
3 changed files with 35 additions and 0 deletions

9
php-zip/.footprint Normal file
View File

@ -0,0 +1,9 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/php/
drwxr-xr-x root/root etc/php/conf.d/
-rw-r--r-- root/root etc/php/conf.d/zip.ini
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/php/
drwxr-xr-x root/root usr/lib/php/extensions/
-rwxr-xr-x root/root usr/lib/php/extensions/zip.so

5
php-zip/.signature Normal file
View File

@ -0,0 +1,5 @@
untrusted comment: verify with /etc/ports/opt.pub
RWSE3ohX2g5d/aDSC/DJc4ukStf6GxPrq9vxE/jAsU2e4NiskKKXbSi9pW6BExHNP4UlW8AZ7X0XhXlf6e7mJ7lFQR/A3eQxLwY=
SHA256 (Pkgfile) = dd3c6c4f545b06b7ff5b63afc8e18bb86adab3fef0debde1ec94d64ce13b0807
SHA256 (.footprint) = 0ba08044c2d47be4c86015de875a10f15dfee8367b932c5466a0212da28e4203
SHA256 (php-7.4.2.tar.xz) = 98284deac017da0d426117ecae7599a1f1bf62ae3911e8bc16c4403a8f4bdf13

21
php-zip/Pkgfile Normal file
View File

@ -0,0 +1,21 @@
# Description: Zip module for PHP
# URL: http://www.php.net
# Maintainer: Juergen Daubert, jue at crux dot nu
# Depends on: libzip
name=php-zip
version=7.4.2
release=1
source=(http://www.php.net/distributions/php-$version.tar.xz)
build() {
cd php-$version
./configure --disable-all --with-zip=shared,/usr
make build-modules
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
install -m 755 modules/zip.so $PKG/usr/lib/php/extensions/
printf 'extension=%s\n' zip.so > $PKG/etc/php/conf.d/zip.ini
}