Fix for CVE-2011-3970
[git/cygwin-packages/libxslt.git] / libxslt-1.1.26-3.cygport
CommitLineData
1a9a4d59 1inherit python gnome2
2
3DESCRIPTION="GNOME XSLT library"
4HOMEPAGE="http://xmlsoft.org/XSLT/"
5SRC_URI="ftp://xmlsoft.org/libxml2/${P}.tar.gz"
e09d9aef 6PATCH_URI="
91ccfc09 7 mirror://portage/dev-libs/${PN}/files/libxslt.m4-${PN}-1.1.26.patch
e09d9aef 8 mirror://portage/dev-libs/${PN}/files/${PN}-1.1.23-parallel-install.patch
74209329
YS
9 mirror://portage/dev-libs/${PN}/files/${PN}-1.1.26-undefined.patch
10 mirror://portage/dev-libs/${PN}/files/${PN}-1.1.26-pattern-out-of-bounds-read.patch
e09d9aef 11"
1a9a4d59 12
13PKG_NAMES="${PN} ${PN}-devel ${PN}-doc python-${PN}"
14PKG_HINTS="setup devel doc python"
b27cb672 15libxslt_CONTENTS="--exclude=*-config* --exclude=examples --exclude=html
16 --exclude=python-${PN} usr/bin/ usr/share/doc/ usr/share/man/"
734059af 17libxslt_devel_CONTENTS="--exclude=python* usr/bin/*-config usr/include/ usr/lib/ \
18 usr/share/aclocal/"
19libxslt_doc_CONTENTS="usr/share/doc/${PN}/html/"
20python_libxslt_CONTENTS="${PYTHON_SITELIB#/} usr/share/doc/python-${PN}/"
1a9a4d59 21
22DIFF_EXCLUDES='libxslt-export.c libxslt-py.* libxsltclass.* *xsltconfig.h'
23
91ccfc09 24CYGCONF_ARGS="
25 --with-crypto
26 --with-debugger
27 --with-html-dir=/usr/share/doc/${PN}
28 --with-html-subdir=html
29 --with-python
30"
e09d9aef 31
1a9a4d59 32src_install() {
33 cd ${B}
34 cyginstall
35
36 mv ${D}${PYTHON_SITELIB}/${PN/lib/cyg}mod.dll ${D}${PYTHON_SITELIB}/${PN}mod.dll
37 sed -i -e "s:${PN/lib/cyg}mod:${PN}mod:g" ${D}${PYTHON_SITELIB}/${PN}mod.la
e09d9aef 38 python_optimize
91ccfc09 39
40 mv ${D}/usr/share/doc/libxslt-python-${PV} ${D}/usr/share/doc/python-libxslt
1a9a4d59 41}
74209329
YS
42
43KEEP_LA_FILES="shared"
This page took 0.022967 seconds and 5 git commands to generate.