summaryrefslogtreecommitdiff
path: root/php-gettext/Pkgfile
blob: cf40d73c2034617c427f177d25800b6b9e108338 (plain)
    1 # Description: Gettext module for PHP
    2 # URL: https://www.php.net
    3 # Maintainer: Juergen Daubert, jue at crux dot nu
    4 
    5 name=php-gettext
    6 version=8.2.1
    7 release=1
    8 source=(https://www.php.net/distributions/php-$version.tar.xz)
    9 
   10 build() {
   11 	cd php-$version
   12 
   13 	./configure --disable-all --with-gettext=shared,/usr
   14 	make build-modules
   15 
   16 	install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
   17 	install -m 755 modules/gettext.so $PKG/usr/lib/php/extensions/
   18 
   19 	printf 'extension=%s\n' gettext.so > $PKG/etc/php/conf.d/gettext.ini
   20 }

Generated by cgit