libxslt 1.1.27
[git/cygwin-packages/libxslt.git] / libxslt.cygport
CommitLineData
8482005d
YS
1inherit python
2
3NAME="libxslt"
ef2fafe1
YS
4VERSION=1.1.27
5RELEASE=1
8482005d
YS
6CATEGORY="Libs"
7SUMMARY="GNOME XSLT library"
8DESCRIPTION="Libxslt is the XSLT C library developed for the Gnome project.
9XSLT itself is a an XML language to define transformation for XML. Libxslt is
10based on libxml2 the XML C library developed for the Gnome project. It also
11implements most of the EXSLT set of processor-portable extensions functions
12and some of Saxon's evaluate and expressions extensions."
13HOMEPAGE="http://xmlsoft.org/XSLT/"
14SRC_URI="ftp://xmlsoft.org/libxml2/${NAME}-${VERSION}.tar.gz"
15PATCH_URI="
16 mirror://portage/dev-libs/${PN}/files/libxslt.m4-${PN}-1.1.26.patch
8482005d
YS
17"
18
19PKG_NAMES="${PN} ${PN}-devel ${PN}-doc python-${PN}"
20libxslt_SUMMARY="${SUMMARY} (runtime)"
21libxslt_CONTENTS="--exclude=*-config* --exclude=examples --exclude=html
22 --exclude=python-${PN} usr/bin/ usr/share/doc/ usr/share/man/"
23libxslt_devel_SUMMARY="${SUMMARY} (development)"
24libxslt_devel_CONTENTS="--exclude=python* usr/bin/*-config usr/include/ usr/lib/ \
25 usr/share/aclocal/"
26libxslt_doc_SUMMARY="${SUMMARY} (API documentation)"
27libxslt_doc_CONTENTS="usr/share/doc/libxslt/html/"
1cb84989 28python_libxslt_CATEGORY="Python"
8482005d
YS
29python_libxslt_SUMMARY="${SUMMARY} (Python bindings)"
30python_libxslt_CONTENTS="${PYTHON_SITELIB#/} usr/share/doc/python-libxslt/"
31
32DIFF_EXCLUDES='libxslt-export.c libxslt-py.* libxsltclass.* *xsltconfig.h'
33
34CYGCONF_ARGS="
35 --with-crypto
36 --with-debugger
37 --with-html-dir=/usr/share/doc/${NAME}
38 --with-html-subdir=html
39 --with-python
40"
41
42src_install() {
43 cd ${B}
44 cyginstall
45
46 mv ${D}${PYTHON_SITELIB}/${PN/lib/cyg}mod.dll ${D}${PYTHON_SITELIB}/${PN}mod.dll
47 sed -i -e "s:${PN/lib/cyg}mod:${PN}mod:g" ${D}${PYTHON_SITELIB}/${PN}mod.la
48 python_optimize
49
50 mv ${D}/usr/share/doc/libxslt-python-${PV} ${D}/usr/share/doc/python-libxslt
51}
52
53KEEP_LA_FILES="shared"
This page took 0.135344 seconds and 5 git commands to generate.