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