2020-02-15 14:00:40 +01:00
|
|
|
# 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
|
2020-05-15 16:40:05 +02:00
|
|
|
version=7.4.6
|
2020-02-15 14:00:40 +01:00
|
|
|
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
|
|
|
|
}
|