2015-11-04 17:31:10 +01:00
|
|
|
# Description: Socket module for PHP
|
|
|
|
# URL: http://www.php.net
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Packager: Alan Mizrahi, alan at mizrahi dot com dot ve
|
2015-08-07 11:58:40 +09:00
|
|
|
# Depends on:
|
|
|
|
|
|
|
|
name=php-sockets
|
2016-07-22 09:46:02 +02:00
|
|
|
version=5.6.24
|
2015-08-07 11:58:40 +09:00
|
|
|
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
|
|
|
|
|
|
|
|
}
|