2015-11-04 17:30:58 +01:00
|
|
|
# Description: Gettext module for PHP
|
|
|
|
# URL: http://www.php.net
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
|
|
# Depends on:
|
2015-08-07 04:58:40 +02:00
|
|
|
|
|
|
|
name=php-gettext
|
2019-05-02 16:27:26 +02:00
|
|
|
version=7.2.18
|
2015-08-07 04:58:40 +02:00
|
|
|
release=1
|
|
|
|
source=(http://www.php.net/distributions/php-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
2018-03-30 12:49:56 +02:00
|
|
|
cd php-$version
|
2015-08-07 04:58:40 +02:00
|
|
|
|
2018-03-30 12:49:56 +02:00
|
|
|
./configure --disable-all --with-gettext=shared,/usr
|
|
|
|
make build-modules
|
2015-08-07 04:58:40 +02:00
|
|
|
|
2018-03-30 12:49:56 +02:00
|
|
|
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
|
|
|
|
install -m 755 modules/gettext.so $PKG/usr/lib/php/extensions/
|
2015-08-07 04:58:40 +02:00
|
|
|
|
2018-03-30 12:49:56 +02:00
|
|
|
printf 'extension=%s\n' gettext.so > $PKG/etc/php/conf.d/gettext.ini
|
2015-08-07 04:58:40 +02:00
|
|
|
}
|