summaryrefslogtreecommitdiff
path: root/php-zip
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2020-02-15 14:01:02 +0100
committerJuergen Daubert <jue@jue.li>2020-02-15 14:01:02 +0100
commitca4677b1e1abdc3dc113f4212a738396324414b1 (patch)
tree3aabd9af0457f90762c4e99aeb6637b826d768e4 /php-zip
parenta0314de6b38b2fa76cef4b8e540f3cf5b8482166 (diff)
downloadopt-ca4677b1e1abdc3dc113f4212a738396324414b1.tar.gz
opt-ca4677b1e1abdc3dc113f4212a738396324414b1.tar.xz
php-zip: initial release, version 7.4.2
Diffstat (limited to 'php-zip')
-rw-r--r--php-zip/.footprint9
-rw-r--r--php-zip/.signature5
-rw-r--r--php-zip/Pkgfile21
3 files changed, 35 insertions, 0 deletions
diff --git a/php-zip/.footprint b/php-zip/.footprint
new file mode 100644
index 000000000..135f327dc
--- /dev/null
+++ b/php-zip/.footprint
@@ -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
diff --git a/php-zip/.signature b/php-zip/.signature
new file mode 100644
index 000000000..26042c20d
--- /dev/null
+++ b/php-zip/.signature
@@ -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
diff --git a/php-zip/Pkgfile b/php-zip/Pkgfile
new file mode 100644
index 000000000..da5501d1b
--- /dev/null
+++ b/php-zip/Pkgfile
@@ -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
+}

Generated by cgit