milis/talimatname/genel/php-xsl/talimat

24 lines
563 B
Plaintext
Raw Normal View History

2017-03-27 20:22:33 +02:00
# Description: libxslt kütüphanesi kullanılarak xslt php uyarlaması
# URL: http://www.php.net
# Packager: milisarge
# Depends on: libxslt
name=php-xsl
2017-03-27 20:26:16 +02:00
version=5.6.16
2017-03-27 20:22:33 +02:00
release=1
2017-03-27 20:26:16 +02:00
source=(http://www.php.net/distributions/php-$version.tar.xz)
2017-03-27 20:22:33 +02:00
build() {
cd php-$version
./configure --disable-all \
--enable-libxml \
--enable-dom \
--with-xsl=shared,/usr
make build-modules
install -d $PKG/{etc/php/conf.d,usr/lib/php/extensions}
install -m 755 modules/xsl.so $PKG/usr/lib/php/extensions
echo "extension=xsl.so" > $PKG/etc/php/conf.d/xsl.ini
}