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