| 1 | NAME = libxslt |
|---|
| 2 | VERSION = 1.1.26 |
|---|
| 3 | CATEGORIES = lib |
|---|
| 4 | GARTYPE = v2 |
|---|
| 5 | |
|---|
| 6 | DESCRIPTION = XSLT engine for the XML Toolkit |
|---|
| 7 | |
|---|
| 8 | define BLURB |
|---|
| 9 | Libxslt is the XSLT C library developed for the GNOME project. XSLT itself is a an XML language to define transformation for XML. Libxslt is based on libxml2 the XML C library developed for the GNOME project. It also implements most of the EXSLT set of processor-portable extensions functions and some of Saxon's evaluate and expressions extensions. |
|---|
| 10 | endef |
|---|
| 11 | |
|---|
| 12 | MASTER_SITES = ftp://xmlsoft.org/libxslt/ |
|---|
| 13 | DISTFILES = $(NAME)-$(VERSION).tar.gz |
|---|
| 14 | PATCHFILES += 0001-Forcefully-disable-version-script-use.patch |
|---|
| 15 | |
|---|
| 16 | BUILD_DEP_PKGS = CSWlibxml2-dev CSWlibgcrypt-dev |
|---|
| 17 | |
|---|
| 18 | PACKAGES = CSWlibxslt |
|---|
| 19 | SPKG_DESC_CSWlibxslt = XSLT engine runtime package |
|---|
| 20 | CATALOGNAME_CSWlibxslt = libxslt |
|---|
| 21 | RUNTIME_DEP_PKGS_CSWlibxslt += CSWlibgcrypt11 CSWlibgpg-error0 |
|---|
| 22 | RUNTIME_DEP_PKGS_CSWlibxslt += CSWiconv CSWlibxml2-2 |
|---|
| 23 | RUNTIME_DEP_PKGS_CSWlibxslt += CSWzlib |
|---|
| 24 | RUNTIME_DEP_PKGS_CSWlibxslt += CSWlibxslt1 CSWlibexslt0 |
|---|
| 25 | |
|---|
| 26 | PACKAGES += CSWlibxslt-dev |
|---|
| 27 | CATALOGNAME_CSWlibxslt-dev = libxslt_dev |
|---|
| 28 | SPKG_DESC_CSWlibxslt-dev = XSLT engine development package |
|---|
| 29 | OBSOLETED_BY_CSWlibxslt-dev = CSWlibxsltdevel |
|---|
| 30 | RUNTIME_DEP_PKGS_CSWlibxslt-dev = CSWlibxslt |
|---|
| 31 | RUNTIME_DEP_PKGS_CSWlibxslt-dev += CSWlibxslt1 |
|---|
| 32 | RUNTIME_DEP_PKGS_CSWlibxslt-dev += CSWlibexslt0 |
|---|
| 33 | PKGFILES_CSWlibxslt-dev = $(PKGFILES_DEVEL) |
|---|
| 34 | PKGFILES_CSWlibxslt-dev += $(docdir)/libxslt-$(VERSION)/.* |
|---|
| 35 | PKGFILES_CSWlibxslt-dev += $(libdir)/xsltConf.sh |
|---|
| 36 | PKGFILES_CSWlibxslt-dev += $(call isadirs,$(libdir),xsltConf.sh) |
|---|
| 37 | |
|---|
| 38 | PACKAGES += CSWpy-libxslt |
|---|
| 39 | CATALOGNAME_CSWpy-libxslt = py_libxslt |
|---|
| 40 | SPKG_DESC_CSWpy-libxslt = XSLT engine python package |
|---|
| 41 | OBSOLETED_BY_CSWpy-libxslt = CSWpylibxslt |
|---|
| 42 | RUNTIME_DEP_PKGS_CSWpy-libxslt = CSWpython |
|---|
| 43 | RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibxslt1 |
|---|
| 44 | RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibexslt0 |
|---|
| 45 | RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibxml2-2 |
|---|
| 46 | RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWzlib |
|---|
| 47 | RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibgpg-error0 |
|---|
| 48 | RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibgcrypt11 |
|---|
| 49 | RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWiconv |
|---|
| 50 | PKGFILES_CSWpy-libxslt = $(libdir)/python.* |
|---|
| 51 | PKGFILES_CSWpy-libxslt += $(docdir)/libxslt-python-$(VERSION)/.* |
|---|
| 52 | |
|---|
| 53 | PACKAGES += CSWlibexslt0 |
|---|
| 54 | CATALOGNAME_CSWlibexslt0 = libexslt0 |
|---|
| 55 | PKGFILES_CSWlibexslt0 += $(call baseisadirs,$(libdir),libexslt\.so\.0\.8\.15) |
|---|
| 56 | PKGFILES_CSWlibexslt0 += $(call baseisadirs,$(libdir),libexslt\.so\.0(\.\d+)*) |
|---|
| 57 | SPKG_DESC_CSWlibexslt0 += XSLT engine runtime package, libexslt.so.0 |
|---|
| 58 | RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWiconv |
|---|
| 59 | RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWlibgpg-error0 |
|---|
| 60 | RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWzlib |
|---|
| 61 | RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWlibxml2-2 |
|---|
| 62 | RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWlibxslt1 |
|---|
| 63 | RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWlibgcrypt11 |
|---|
| 64 | |
|---|
| 65 | PACKAGES += CSWlibxslt1 |
|---|
| 66 | CATALOGNAME_CSWlibxslt1 = libxslt1 |
|---|
| 67 | PKGFILES_CSWlibxslt1 += $(call baseisadirs,$(libdir),libxslt\.so\.1\.1\.26) |
|---|
| 68 | PKGFILES_CSWlibxslt1 += $(call baseisadirs,$(libdir),libxslt\.so\.1(\.\d+)*) |
|---|
| 69 | SPKG_DESC_CSWlibxslt1 += XSLT engine runtime package, libxslt.so.1 |
|---|
| 70 | RUNTIME_DEP_PKGS_CSWlibxslt1 += CSWlibxml2-2 |
|---|
| 71 | RUNTIME_DEP_PKGS_CSWlibxslt1 += CSWiconv |
|---|
| 72 | RUNTIME_DEP_PKGS_CSWlibxslt1 += CSWzlib |
|---|
| 73 | |
|---|
| 74 | SPKG_SOURCEURL = http://xmlsoft.org/XSLT/ |
|---|
| 75 | CONFIGURE_ARGS_32 = |
|---|
| 76 | CONFIGURE_ARGS_64 = --without-python |
|---|
| 77 | CONFIGURE_ARGS = $(DIRPATHS) $(CONFIGURE_ARGS_$(MEMORYMODEL)) |
|---|
| 78 | |
|---|
| 79 | BUILD64_LIBS_ONLY = 1 |
|---|
| 80 | STRIP_LIBTOOL = 1 |
|---|
| 81 | PYCOMPILE = 1 |
|---|
| 82 | |
|---|
| 83 | include gar/category.mk |
|---|
| 84 | |
|---|
| 85 | post-merge: |
|---|
| 86 | @echo Correcting DTD reference in tutorial materials. |
|---|
| 87 | @( cd $(PKGROOT)$(docdir)/$(NAME)-$(VERSION)/html/tutorial2/; \ |
|---|
| 88 | perl -pi -e 's!/usr/share!/opt/csw/share!' libxslt_pipes.xml) |
|---|
| 89 | @$(MAKECOOKIE) |
|---|