26 lines
567 B
Plaintext
26 lines
567 B
Plaintext
# Description: FTP module for PHP
|
|
# URL: http://www.php.net
|
|
# Maintainer: Alan Mizrahi, alan at mizrahi dot com dot ve
|
|
# Depends on:
|
|
|
|
name=php-ftp
|
|
version=5.5.27
|
|
release=1
|
|
source=(http://www.php.net/distributions/php-$version.tar.xz)
|
|
|
|
build() {
|
|
cd php-$version
|
|
|
|
./configure \
|
|
--disable-all \
|
|
--enable-${name#php-}=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
|
|
|
|
}
|