Fix for CVE-2011-3970
[git/cygwin-packages/libxslt.git] / libxslt-1.1.26-3.cygport
1 inherit python gnome2
2
3 DESCRIPTION="GNOME XSLT library"
4 HOMEPAGE="http://xmlsoft.org/XSLT/"
5 SRC_URI="ftp://xmlsoft.org/libxml2/${P}.tar.gz"
6 PATCH_URI="
7 mirror://portage/dev-libs/${PN}/files/libxslt.m4-${PN}-1.1.26.patch
8 mirror://portage/dev-libs/${PN}/files/${PN}-1.1.23-parallel-install.patch
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
11 "
12
13 PKG_NAMES="${PN} ${PN}-devel ${PN}-doc python-${PN}"
14 PKG_HINTS="setup devel doc python"
15 libxslt_CONTENTS="--exclude=*-config* --exclude=examples --exclude=html
16 --exclude=python-${PN} usr/bin/ usr/share/doc/ usr/share/man/"
17 libxslt_devel_CONTENTS="--exclude=python* usr/bin/*-config usr/include/ usr/lib/ \
18 usr/share/aclocal/"
19 libxslt_doc_CONTENTS="usr/share/doc/${PN}/html/"
20 python_libxslt_CONTENTS="${PYTHON_SITELIB#/} usr/share/doc/python-${PN}/"
21
22 DIFF_EXCLUDES='libxslt-export.c libxslt-py.* libxsltclass.* *xsltconfig.h'
23
24 CYGCONF_ARGS="
25 --with-crypto
26 --with-debugger
27 --with-html-dir=/usr/share/doc/${PN}
28 --with-html-subdir=html
29 --with-python
30 "
31
32 src_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
38 python_optimize
39
40 mv ${D}/usr/share/doc/libxslt-python-${PV} ${D}/usr/share/doc/python-libxslt
41 }
42
43 KEEP_LA_FILES="shared"
This page took 0.034619 seconds and 5 git commands to generate.