2015-11-04 17:30:33 +01:00
|
|
|
# Description: FTP module for PHP
|
2020-06-06 13:00:05 +02:00
|
|
|
# URL: https://www.php.net
|
2015-11-04 17:30:33 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
2015-08-07 04:58:40 +02:00
|
|
|
|
|
|
|
name=php-ftp
|
2021-02-18 17:53:43 +01:00
|
|
|
version=7.4.15
|
2015-08-07 04:58:40 +02:00
|
|
|
release=1
|
2020-06-06 13:00:05 +02:00
|
|
|
source=(https://www.php.net/distributions/php-$version.tar.xz)
|
2015-08-07 04:58:40 +02:00
|
|
|
|
|
|
|
build() {
|
2018-03-30 12:49:43 +02:00
|
|
|
cd php-$version
|
2015-08-07 04:58:40 +02:00
|
|
|
|
2018-03-30 12:49:43 +02:00
|
|
|
./configure --disable-all --enable-ftp=shared
|
|
|
|
make build-modules
|
2015-08-07 04:58:40 +02:00
|
|
|
|
2018-03-30 12:49:43 +02:00
|
|
|
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
|
|
|
|
install -m 755 modules/ftp.so $PKG/usr/lib/php/extensions/
|
2015-08-07 04:58:40 +02:00
|
|
|
|
2018-03-30 12:49:43 +02:00
|
|
|
printf 'extension=%s\n' ftp.so > $PKG/etc/php/conf.d/ftp.ini
|
2015-08-07 04:58:40 +02:00
|
|
|
}
|