1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

root/csw/mgar/pkg/libxslt/trunk/Makefile

Revision 16916, 3.5 KB (checked in by dmichelsen, 4 months ago)

WHOLE TREE: Explicitly set GARTYPE to current default 'v2'

Line 
1NAME = libxslt
2VERSION = 1.1.26
3CATEGORIES = lib
4GARTYPE = v2
5
6DESCRIPTION = XSLT engine for the XML Toolkit
7
8define 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.
10endef
11
12MASTER_SITES = ftp://xmlsoft.org/libxslt/
13DISTFILES  = $(NAME)-$(VERSION).tar.gz
14PATCHFILES += 0001-Forcefully-disable-version-script-use.patch
15
16BUILD_DEP_PKGS = CSWlibxml2-dev CSWlibgcrypt-dev
17
18PACKAGES = CSWlibxslt
19SPKG_DESC_CSWlibxslt =  XSLT engine runtime package
20CATALOGNAME_CSWlibxslt = libxslt
21RUNTIME_DEP_PKGS_CSWlibxslt += CSWlibgcrypt11 CSWlibgpg-error0
22RUNTIME_DEP_PKGS_CSWlibxslt += CSWiconv CSWlibxml2-2
23RUNTIME_DEP_PKGS_CSWlibxslt += CSWzlib
24RUNTIME_DEP_PKGS_CSWlibxslt += CSWlibxslt1 CSWlibexslt0
25
26PACKAGES += CSWlibxslt-dev
27CATALOGNAME_CSWlibxslt-dev = libxslt_dev
28SPKG_DESC_CSWlibxslt-dev = XSLT engine development package
29OBSOLETED_BY_CSWlibxslt-dev = CSWlibxsltdevel
30RUNTIME_DEP_PKGS_CSWlibxslt-dev = CSWlibxslt
31RUNTIME_DEP_PKGS_CSWlibxslt-dev += CSWlibxslt1
32RUNTIME_DEP_PKGS_CSWlibxslt-dev += CSWlibexslt0
33PKGFILES_CSWlibxslt-dev  = $(PKGFILES_DEVEL)
34PKGFILES_CSWlibxslt-dev += $(docdir)/libxslt-$(VERSION)/.*
35PKGFILES_CSWlibxslt-dev += $(libdir)/xsltConf.sh
36PKGFILES_CSWlibxslt-dev += $(call isadirs,$(libdir),xsltConf.sh)
37
38PACKAGES += CSWpy-libxslt
39CATALOGNAME_CSWpy-libxslt = py_libxslt
40SPKG_DESC_CSWpy-libxslt = XSLT engine python package
41OBSOLETED_BY_CSWpy-libxslt = CSWpylibxslt
42RUNTIME_DEP_PKGS_CSWpy-libxslt  = CSWpython
43RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibxslt1
44RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibexslt0
45RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibxml2-2
46RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWzlib
47RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibgpg-error0
48RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWlibgcrypt11
49RUNTIME_DEP_PKGS_CSWpy-libxslt += CSWiconv
50PKGFILES_CSWpy-libxslt = $(libdir)/python.*
51PKGFILES_CSWpy-libxslt += $(docdir)/libxslt-python-$(VERSION)/.*
52
53PACKAGES += CSWlibexslt0
54CATALOGNAME_CSWlibexslt0 = libexslt0
55PKGFILES_CSWlibexslt0 += $(call baseisadirs,$(libdir),libexslt\.so\.0\.8\.15)
56PKGFILES_CSWlibexslt0 += $(call baseisadirs,$(libdir),libexslt\.so\.0(\.\d+)*)
57SPKG_DESC_CSWlibexslt0 += XSLT engine runtime package, libexslt.so.0
58RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWiconv
59RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWlibgpg-error0
60RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWzlib
61RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWlibxml2-2
62RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWlibxslt1
63RUNTIME_DEP_PKGS_CSWlibexslt0 += CSWlibgcrypt11
64
65PACKAGES += CSWlibxslt1
66CATALOGNAME_CSWlibxslt1 = libxslt1
67PKGFILES_CSWlibxslt1 += $(call baseisadirs,$(libdir),libxslt\.so\.1\.1\.26)
68PKGFILES_CSWlibxslt1 += $(call baseisadirs,$(libdir),libxslt\.so\.1(\.\d+)*)
69SPKG_DESC_CSWlibxslt1 += XSLT engine runtime package, libxslt.so.1
70RUNTIME_DEP_PKGS_CSWlibxslt1 += CSWlibxml2-2
71RUNTIME_DEP_PKGS_CSWlibxslt1 += CSWiconv
72RUNTIME_DEP_PKGS_CSWlibxslt1 += CSWzlib
73
74SPKG_SOURCEURL = http://xmlsoft.org/XSLT/
75CONFIGURE_ARGS_32 =
76CONFIGURE_ARGS_64 = --without-python
77CONFIGURE_ARGS = $(DIRPATHS) $(CONFIGURE_ARGS_$(MEMORYMODEL))
78
79BUILD64_LIBS_ONLY = 1
80STRIP_LIBTOOL = 1
81PYCOMPILE = 1
82
83include gar/category.mk
84
85post-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)
Note: See TracBrowser for help on using the browser.