libs/*: removed 'cygwin' from requires:
[git/cygwin-packages/libxslt.git] / libxslt-1.1.24-10.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="
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
734059af 11 1.1.24-doc-install.patch
e09d9aef 12"
1a9a4d59 13
14PKG_NAMES="${PN} ${PN}-devel ${PN}-doc python-${PN}"
15PKG_HINTS="setup devel doc python"
734059af 16libxslt_CONTENTS="--exclude=*-config* usr/bin/ usr/share/doc/Cygwin \
17 usr/share/doc/${PN}/[A-Z]* usr/share/man/"
18libxslt_devel_CONTENTS="--exclude=python* usr/bin/*-config usr/include/ usr/lib/ \
19 usr/share/aclocal/"
20libxslt_doc_CONTENTS="usr/share/doc/${PN}/html/"
21python_libxslt_CONTENTS="${PYTHON_SITELIB#/} usr/share/doc/python-${PN}/"
1a9a4d59 22
23DIFF_EXCLUDES='libxslt-export.c libxslt-py.* libxsltclass.* *xsltconfig.h'
24
e09d9aef 25CYGCONF_ARGS="--with-debugger --with-python --with-crypto"
26
1a9a4d59 27src_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
e09d9aef 33
34 python_optimize
1a9a4d59 35}
This page took 0.027873 seconds and 5 git commands to generate.