ports/opt (3.5): php-mbstring: initial release, version 7.4.2
commit a0314de6b38b2fa76cef4b8e540f3cf5b8482166 Author: Juergen Daubert <jue@jue.li> Date: Sat Feb 15 14:00:40 2020 +0100 php-mbstring: initial release, version 7.4.2 diff --git a/php-mbstring/.footprint b/php-mbstring/.footprint new file mode 100644 index 000000000..8317528e6 --- /dev/null +++ b/php-mbstring/.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/mbstring.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/mbstring.so diff --git a/php-mbstring/.signature b/php-mbstring/.signature new file mode 100644 index 000000000..8aefbad92 --- /dev/null +++ b/php-mbstring/.signature @@ -0,0 +1,5 @@ +untrusted comment: verify with /etc/ports/opt.pub +RWSE3ohX2g5d/asLh4I6PpTZyGBFo5Ygogy6Q+U8g0nG6cmVIJFij/g6vC7MoZRExwbq0bU0KFUoOwVH8+2WqZukNC35N+Umbg4= +SHA256 (Pkgfile) = 8c6fa280ae219493d69bc4e66b48b5ef4df1a7f69e6d3600b6ee35f78029ab2b +SHA256 (.footprint) = 4a444295762f936750fb32f977171aecc73d9347bf51bace13d7f9dfc200812e +SHA256 (php-7.4.2.tar.xz) = 98284deac017da0d426117ecae7599a1f1bf62ae3911e8bc16c4403a8f4bdf13 diff --git a/php-mbstring/Pkgfile b/php-mbstring/Pkgfile new file mode 100644 index 000000000..c69dad59b --- /dev/null +++ b/php-mbstring/Pkgfile @@ -0,0 +1,21 @@ +# Description: Multibyte string module for PHP +# URL: http://www.php.net +# Maintainer: Juergen Daubert, jue at crux dot nu +# Depends on: oniguruma + +name=php-mbstring +version=7.4.2 +release=1 +source=(http://www.php.net/distributions/php-$version.tar.xz) + +build() { + cd php-$version + + ./configure --disable-all --enable-mbstring=shared + make build-modules + + install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions} + install -m 755 modules/mbstring.so $PKG/usr/lib/php/extensions/ + + printf 'extension=%s\n' mbstring.so > $PKG/etc/php/conf.d/mbstring.ini +}
participants (1)
-
crux@crux.nu