diff options
author | Juergen Daubert <jue@jue.li> | 2018-03-30 12:49:43 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2018-03-30 12:49:43 +0200 |
commit | de154625214ad41744a2cd8e41d65dc4821eba9a (patch) | |
tree | 27948b52ce3f1e4ccd1dc7fb3c7c660275f9ba03 /php-ftp/Pkgfile | |
parent | 2d7e666bfed2692defc0c8cfaa55eee9e554891a (diff) | |
download | opt-de154625214ad41744a2cd8e41d65dc4821eba9a.tar.gz opt-de154625214ad41744a2cd8e41d65dc4821eba9a.tar.xz |
php-ftp: update to 7.2.4
Diffstat (limited to 'php-ftp/Pkgfile')
-rw-r--r-- | php-ftp/Pkgfile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/php-ftp/Pkgfile b/php-ftp/Pkgfile index 01bd25f0d..a46768beb 100644 --- a/php-ftp/Pkgfile +++ b/php-ftp/Pkgfile @@ -5,22 +5,18 @@ # Depends on: name=php-ftp -version=5.6.34 +version=7.2.4 release=1 source=(http://www.php.net/distributions/php-$version.tar.xz) build() { - cd php-$version + cd php-$version - ./configure \ - --disable-all \ - --enable-${name#php-}=shared - make build-modules + ./configure --disable-all --enable-ftp=shared + make build-modules - install -d $PKG/etc/php/conf.d - for i in modules/*.so; do - install -D -m755 $i $PKG/usr/lib/php/extensions/${i##*/} - echo extension=/usr/lib/php/extensions/${i##*/} >> $PKG/etc/php/conf.d/${name#php-}.ini - done + install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions} + install -m 755 modules/ftp.so $PKG/usr/lib/php/extensions/ + printf 'extension=%s\n' ftp.so > $PKG/etc/php/conf.d/ftp.ini } |