1 # Maintainer; Eugene Lamskoy <e.lamskoy@gmail.com>
7 pkgdesc="pdo_dblib extension for PHP"
9 url="http://pecl.php.net/package/${_pecl}"
11 depends=('php' 'freetds')
13 http://pecl.php.net/get/${_pecl}-${pkgver}.tgz
16 install="php-${_ext}.install"
18 md5sums=('017135f92597e02dcacf1c37319f3b2a'
19 '77d3243e4a137bd199ac403caf12a002')
22 cd "$srcdir/${_pecl}-${pkgver}"
24 patch -i ${srcdir}/freetds.patch -p0 || exit 1
25 ./configure --prefix=/usr
30 cd "$srcdir/${_pecl}-$pkgver"
32 make INSTALL_ROOT="$pkgdir" install
33 echo ";extension=${_ext}.so" > "${_ext}.ini"
34 install -Dm644 "${_ext}.ini" "$pkgdir/etc/php/conf.d/${_ext}.ini"