2008-10-13 04:26:35 +00:00
|
|
|
# Template build file for 'libxslt'.
|
|
|
|
pkgname=libxslt
|
2012-11-27 21:19:15 +00:00
|
|
|
version=1.1.28
|
2013-04-12 11:13:49 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-09-30 15:03:19 +00:00
|
|
|
configure_args="--disable-static"
|
2013-03-20 11:05:32 +00:00
|
|
|
makedepends="python-devel libxml2-devel libgcrypt-devel"
|
2008-10-13 04:26:35 +00:00
|
|
|
short_desc="XSLT parser library from the GNOME project"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-09-30 15:03:19 +00:00
|
|
|
homepage="http://xmlsoft.org/XSLT/"
|
|
|
|
license="MIT"
|
|
|
|
distfiles="ftp://xmlsoft.org/${pkgname}/${pkgname}-${version}.tar.gz"
|
2012-11-27 21:19:15 +00:00
|
|
|
checksum=5fc7151a57b89c03d7b825df5a0fae0a8d5f05674c0e7cf2937ecec4d54a028c
|
2008-10-13 04:26:35 +00:00
|
|
|
long_desc="
|
|
|
|
Libxslt is the XSLT C library developed for the Gnome project. XSLT itself is
|
|
|
|
an XML language to define transformation for XML. Libxslt is based on libxml2
|
|
|
|
the XML C library developed for the Gnome project. It also implements most of
|
|
|
|
the EXSLT set of extensions functions and some of Saxon's evaluate and
|
|
|
|
expressions extensions."
|
2009-03-21 00:01:42 +00:00
|
|
|
|
2012-09-30 15:03:19 +00:00
|
|
|
post_install() {
|
|
|
|
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
|
|
|
}
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
libxslt-devel_package() {
|
|
|
|
depends="libxml2-devel libxslt-${version}_${revision}"
|
|
|
|
short_desc="${short_desc} -- development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/xslt-config
|
|
|
|
vmove usr/lib/xsltConf.sh
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/share/doc/${sourcepkg}-${version}
|
|
|
|
vmove usr/share/man/man3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxslt-python_package() {
|
|
|
|
short_desc="${short_desc} -- python extension"
|
|
|
|
pycompile_module="libxslt.py"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/python*"
|
|
|
|
vmove usr/share/doc/${sourcepkg}-python-${version}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libxslt_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|