blob: 2ce4f1bf27bd38a5b0d26c581e89d7ac018d2c08 (
plain)
1 # Description: PostgreSQL module for PHP
2 # URL: http://www.php.net
3 # Maintainer: Mikhail Kolesnik, mike at openbunker dot org
4 # Depends on: postgresql
5
6 name=php-postgresql
7 version=5.5.6
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 --with-pgsql=shared,/usr
16 make build-modules
17
18 install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
19 install -m 755 modules/pgsql.so $PKG/usr/lib/php/extensions
20 echo "extension=pgsql.so" > $PKG/etc/php/conf.d/pgsql.ini
21 }
|