equal
deleted
inserted
replaced
45 # Download site for source |
45 # Download site for source |
46 SOURCE_URL = $(SF_DOWNLOADS_URL)/freeglut/freeglut/$(SOURCE_TARBALL_NAME) |
46 SOURCE_URL = $(SF_DOWNLOADS_URL)/freeglut/freeglut/$(SOURCE_TARBALL_NAME) |
47 SOURCE_URL_SET = yes |
47 SOURCE_URL_SET = yes |
48 |
48 |
49 # Patches to apply to source after unpacking, in order |
49 # Patches to apply to source after unpacking, in order |
50 SOURCE_PATCHES = Makefile.in.0.patch |
50 SOURCE_PATCHES = |
51 |
51 |
52 # Source tarball |
52 # Source tarball |
53 SOURCE_TARBALL_NAME = freeglut-$(MODULE_VERSION).tar.gz |
53 SOURCE_TARBALL_NAME = freeglut-$(MODULE_VERSION).tar.gz |
54 SOURCE_TARBALL_NAME_SET=yes |
54 SOURCE_TARBALL_NAME_SET=yes |
55 SOURCE_UNCOMPRESS=gzcat |
55 SOURCE_UNCOMPRESS=gzcat |
67 MODULE_MAKE_SET=yes |
67 MODULE_MAKE_SET=yes |
68 |
68 |
69 # FreeGLUT really wants to know that we are POSIX friendly |
69 # FreeGLUT really wants to know that we are POSIX friendly |
70 MODULE_CPPFLAGS = -D__posix__ -D__unix__ |
70 MODULE_CPPFLAGS = -D__posix__ -D__unix__ |
71 |
71 |
|
72 # Additional targets to install |
|
73 MODULE_ADD_INSTALL_TARGETS = install_doc |
|
74 |
72 include ../Makefile.inc |
75 include ../Makefile.inc |
73 |
76 |
74 # FreeGLUT's $(VERSION_INFO) breaks delibtoolize.pl |
77 # FreeGLUT's $(VERSION_INFO) breaks delibtoolize.pl |
75 DELIBTOOLIZE=no |
78 DELIBTOOLIZE=no |
76 |
79 |
84 ( cd $(PROTODIR)/usr/lib/GL/$(SUBDIR64) ; \ |
87 ( cd $(PROTODIR)/usr/lib/GL/$(SUBDIR64) ; \ |
85 ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so.3 ; \ |
88 ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so.3 ; \ |
86 ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so ; \ |
89 ln -sf ../../$(SUBDIR64)/libglut.so.3.9.0 libglut.so ; \ |
87 cd - ) |
90 cd - ) |
88 |
91 |
|
92 FREEGLUT_DOC=$(PROTODIR)$(MODULE_DOC_DIR)/freeglut_user_interface.html |
|
93 install_doc: $(FREEGLUT_DOC) |
|
94 |
|
95 $(FREEGLUT_DOC): $(INSTALL_DEPS) |
|
96 $(INSTALL_SCRIPT) -c -m 0444 \ |
|
97 $(SOURCE_DIR)/doc/freeglut_user_interface.html $@ |
|
98 |