libxslt: update to 1.1.27.

This commit is contained in:
Juan RP 2012-09-30 17:03:19 +02:00
parent b2956c6baa
commit de58b1becf
5 changed files with 32 additions and 32 deletions

View file

@ -1,25 +1,19 @@
# Template file for 'libxslt-devel'.
#
depends="python-devel libxml2-devel libgcrypt-devel libgpg-error-devel zlib-devel libxslt"
depends="libxslt>=${version}"
short_desc="${short_desc} (development files)"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
noarch=yes
do_install()
{
install -d ${DESTDIR}/usr/{bin,lib}
install -d ${DESTDIR}/usr/share/{doc,man}
mv ${SRCPKGDESTDIR}/usr/bin/xslt-config ${DESTDIR}/usr/bin
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.*a ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/xsltConf.sh ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/lib/pkgconfig ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/aclocal ${DESTDIR}/usr/share
mv ${SRCPKGDESTDIR}/usr/share/doc/${sourcepkg}-${version} \
${DESTDIR}/usr/share/doc
mv ${SRCPKGDESTDIR}/usr/share/man/man3 ${DESTDIR}/usr/share/man
do_install() {
vmove usr/bin/xslt-config usr/bin
vmove usr/lib/xsltConf.sh usr/lib
vmove usr/include usr
vmove usr/lib/pkgconfig usr/lib
vmove usr/share/aclocal usr/share
vmove usr/share/doc/${sourcepkg}-${version} usr/share/doc
vmove usr/share/man/man3 usr/share/man
}

View file

@ -4,5 +4,10 @@ libgpg-error.so.0
libxslt.so.1
libxml2.so.2
libz.so.1
librt.so.1
libpthread.so.0
libdl.so.2
libutil.so.1
libm.so.6
libpython2.7.so.1.0
libc.so.6

View file

@ -1,19 +1,13 @@
# Template file for 'libxslt-python'.
#
depends="python"
short_desc="${short_desc} (python extension)"
long_desc="${long_desc}
This package contains ${sourcepkg} python related files."
pycompile_module="libxslt.py"
do_install()
{
mkdir -p ${DESTDIR}/usr/lib
mkdir -p ${DESTDIR}/usr/share/doc
mv ${SRCPKGDESTDIR}/usr/lib/python* ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/share/doc/${sourcepkg}-python-${version} \
${DESTDIR}/usr/share/doc
do_install() {
vmove "usr/lib/python*" usr/lib
vmove usr/share/doc/${sourcepkg}-python-${version} usr/share/doc
}

View file

@ -1,3 +1,4 @@
librt.so.1
libxml2.so.2
libc.so.6
libz.so.1

View file

@ -1,13 +1,17 @@
# Template build file for 'libxslt'.
pkgname=libxslt
version=1.1.26
revision=4
distfiles="ftp://xmlsoft.org/libxslt/$pkgname-$version.tar.gz"
version=1.1.27
revision=1
subpackages="${pkgname}-devel ${pkgname}-python"
build_style=gnu-configure
makedepends="python-devel libxml2-devel libgcrypt-devel libgpg-error-devel zlib-devel"
configure_args="--disable-static"
makedepends="python-devel libxml2-devel libgcrypt-devel libgpg-error-devel"
short_desc="XSLT parser library from the GNOME project"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=55dd52b42861f8a02989d701ef716d6280bfa02971e967c285016f99c66e3db1
homepage="http://xmlsoft.org/XSLT/"
license="MIT"
distfiles="ftp://xmlsoft.org/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b6a8d9a421f2630999ca91d9f8c091ee8ea2d580e6be84c1d21b2a45e11e7e26
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
@ -15,4 +19,6 @@ long_desc="
the EXSLT set of extensions functions and some of Saxon's evaluate and
expressions extensions."
subpackages="$pkgname-devel $pkgname-python"
post_install() {
vinstall COPYING 644 usr/share/licenses/${pkgname}
}