summaryrefslogtreecommitdiff
path: root/php-ftp/Pkgfile
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2018-03-30 12:49:43 +0200
committerJuergen Daubert <jue@jue.li>2018-03-30 12:49:43 +0200
commitde154625214ad41744a2cd8e41d65dc4821eba9a (patch)
tree27948b52ce3f1e4ccd1dc7fb3c7c660275f9ba03 /php-ftp/Pkgfile
parent2d7e666bfed2692defc0c8cfaa55eee9e554891a (diff)
downloadopt-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/Pkgfile18
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
}

Generated by cgit