libs/libxslt 1.1.26
[git/cygwin-packages/libxslt.git] / libxslt-1.1.26-1.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 1.1.26-no-undefined.patch
10 "
11
12 PKG_NAMES="${PN} ${PN}-devel ${PN}-doc python-${PN}"
13 PKG_HINTS="setup devel doc python"
14 libxslt_CONTENTS="--exclude=*-config* usr/bin/ usr/share/doc/Cygwin \
15 usr/share/doc/${PN}/[A-Z]* usr/share/man/"
16 libxslt_devel_CONTENTS="--exclude=python* usr/bin/*-config usr/include/ usr/lib/ \
17 usr/share/aclocal/"
18 libxslt_doc_CONTENTS="usr/share/doc/${PN}/html/"
19 python_libxslt_CONTENTS="${PYTHON_SITELIB#/} usr/share/doc/python-${PN}/"
20
21 DIFF_EXCLUDES='libxslt-export.c libxslt-py.* libxsltclass.* *xsltconfig.h'
22
23 CYGCONF_ARGS="
24 --with-crypto
25 --with-debugger
26 --with-html-dir=/usr/share/doc/${PN}
27 --with-html-subdir=html
28 --with-python
29 "
30
31 src_install() {
32 cd ${B}
33 cyginstall
34
35 mv ${D}${PYTHON_SITELIB}/${PN/lib/cyg}mod.dll ${D}${PYTHON_SITELIB}/${PN}mod.dll
36 sed -i -e "s:${PN/lib/cyg}mod:${PN}mod:g" ${D}${PYTHON_SITELIB}/${PN}mod.la
37 python_optimize
38
39 mv ${D}/usr/share/doc/libxslt-python-${PV} ${D}/usr/share/doc/python-libxslt
40 }
This page took 0.033697 seconds and 5 git commands to generate.