contrib/php-xsl/Pkgfile

25 lines
685 B
Plaintext
Raw Normal View History

2009-02-16 15:17:32 +01:00
# Description: Implements the XSL standard, performing XSLT transformations using the libxslt library
2015-11-05 12:07:51 +01:00
# URL: http://www.php.net
# Maintainer: Juergen Daubert, jue at crux dot nu
# Packager: Mikhail Kolesnik, mike at openbunker dot org
# Depends on: libxslt
2009-02-16 15:17:32 +01:00
name=php-xsl
2016-11-11 16:16:01 +01:00
version=5.6.28
2009-02-16 15:17:32 +01:00
release=1
2015-11-05 12:07:51 +01:00
source=(http://www.php.net/distributions/php-$version.tar.xz)
2009-02-16 15:17:32 +01:00
build() {
cd php-$version
./configure --disable-all \
2015-11-05 12:07:51 +01:00
--enable-libxml \
--enable-dom \
--with-xsl=shared,/usr
2009-02-16 15:17:32 +01:00
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
}