2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
17 set name=pkg.human-version value=$(HUMAN_VERSION)
18 set name=pkg.summary value="$(COMPONENT_SUMMARY)"
19 set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
20 set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
21 set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
22 set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
24 license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
26 <transform file -> add pkg.depend.bypass-generate libGL\.so\.1>
28 # All headers are moved to /usr/include/mesa.
29 <transform file path=usr/include/mesa/(.+)$ -> set action.hash usr/include/GL/%<\1> >
31 # All libraries are moved to /usr/lib/mesa.
32 <transform file path=usr/lib/mesa/(.+)$ -> set action.hash usr/lib/%<\1> >
34 # For several headers we create direct links
35 link path=usr/include/GL/glu.h target=../mesa/glu.h
37 # For several libraries we create direct links
38 link path=usr/lib/GL/libGLU.so.1 target=libGLU.so.1.3.1
39 link path=usr/lib/GL/libGLU.so.1.3.1 target=../mesa/libGLU.so.1.3.1
40 link path=usr/lib/GL/libGLU.so target=libGLU.so.1
41 link path=usr/lib/GL/$(MACH64)/libGLU.so.1 target=libGLU.so.1.3.1
42 link path=usr/lib/GL/$(MACH64)/libGLU.so target=libGLU.so.1
43 link path=usr/lib/GL/$(MACH64)/libGLU.so.1.3.1 target=../../mesa/$(MACH64)/libGLU.so.1.3.1
45 # For several libraries we create runtime links
46 link path=usr/X11/lib/libGLU.so target=libGLU.so.1
47 link path=usr/X11/lib/libGLU.so.1 target=libGLU.so.1.3.1
48 link path=usr/X11/lib/libGLU.so.1.3.1 target=GL/libGLU.so.1.3.1 pkg.linted.userland.action002.0=true
49 link path=usr/lib/libGLU.so.1 target=libGLU.so.1.3.1
50 link path=usr/lib/libGLU.so target=libGLU.so.1
51 link path=usr/lib/libGLU.so.1.3.1 target=GL/libGLU.so.1.3.1
52 link path=usr/lib/$(MACH64)/libGLU.so.1 target=libGLU.so.1.3.1
53 link path=usr/lib/$(MACH64)/libGLU.so target=libGLU.so.1
54 link path=usr/lib/$(MACH64)/libGLU.so.1.3.1 target=../GL/$(MACH64)/libGLU.so.1.3.1
55 link path=usr/X11/lib/$(MACH64)/libGLU.so target=libGLU.so.1
56 link path=usr/X11/lib/$(MACH64)/libGLU.so.1 target=libGLU.so.1.3.1
57 link path=usr/X11/lib/$(MACH64)/libGLU.so.1.3.1 target=../GL/$(MACH64)/libGLU.so.1.3.1 pkg.linted.userland.action002.0=true
59 # Runtime links are provided by ogl-select
60 depend fmri=pkg:/service/opengl/ogl-select type=require
62 # libGLU was earlier in x11/library/mesa
63 depend fmri=x11/library/mesa@9.0.3,5.11 type=optional
65 file path=usr/include/mesa/glu.h
66 file path=usr/lib/$(MACH64)/pkgconfig/glu.pc
67 link path=usr/lib/mesa/$(MACH64)/libGLU.so target=libGLU.so.1.3.1
68 link path=usr/lib/mesa/$(MACH64)/libGLU.so.1 target=libGLU.so.1.3.1
69 file path=usr/lib/mesa/$(MACH64)/libGLU.so.1.3.1
70 link path=usr/lib/mesa/libGLU.so target=libGLU.so.1.3.1
71 link path=usr/lib/mesa/libGLU.so.1 target=libGLU.so.1.3.1
72 file path=usr/lib/mesa/libGLU.so.1.3.1
73 file path=usr/lib/pkgconfig/glu.pc