blob: 4da10707cf9b45c7f177445be3d5b466a313c3bb (
plain)
1 # Description: Sockets module for PHP
2 # URL: http://www.php.net
3 # Maintainer: Mikhail Kolesnik, mike at openbunker dot org
4 # Depends on:
5
6 name=php-sockets
7 version=5.3.5
8 release=1
9 source=(http://www.php.net/distributions/php-$version.tar.bz2)
10
11 build() {
12 cd php-$version
13
14 ./configure --disable-all \
15 --enable-sockets=shared,/usr
16 make build-modules
17
18 install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
19 install -m 755 modules/sockets.so $PKG/usr/lib/php/extensions
20 echo "extension=sockets.so" > $PKG/etc/php/conf.d/sockets.ini
21 }
|