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

Generated by cgit