summaryrefslogtreecommitdiffstats
path: root/rules/glu.make
blob: b0dce801a87d56c2d7872eb5bfce36209bda1cb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# -*-makefile-*-
#
# Copyright (C) 2013 by Michael Olbrich <m.olbrich@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#

#
# We provide this package
#
PACKAGES-$(PTXCONF_GLU) += glu

#
# Paths and names
#
GLU_VERSION	:= 9.0.0
GLU_MD5		:= be9249132ff49275461cf92039083030
GLU		:= glu-$(GLU_VERSION)
GLU_SUFFIX	:= tar.bz2
GLU_URL		:= ftp://ftp.freedesktop.org/pub/mesa/glu/$(GLU).$(GLU_SUFFIX)
GLU_SOURCE	:= $(SRCDIR)/$(GLU).$(GLU_SUFFIX)
GLU_DIR		:= $(BUILDDIR)/$(GLU)
GLU_LICENSE	:= SGI-B-2.0 AND SGI-B-1.1
GLU_LICENSE_FILES := \
	file://src/libutil/glue.c;startline=2;endline=28;md5=76832a1e3b436747980ebbc1cd89bfac \
	file://src/libnurbs/internals/bin.cc;startline=2;endline=32;md5=f2807b3ac0a293c6faaac74d8933bb1f

# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------

#
# autoconf
#
GLU_CONF_TOOL	:= autoconf
GLU_CONF_OPT	:= \
	$(CROSS_AUTOCONF_USR) \
	--disable-static \
	--disable-debug \
	--disable-osmesa

# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------

$(STATEDIR)/glu.targetinstall:
	@$(call targetinfo)

	@$(call install_init, glu)
	@$(call install_fixup, glu,PRIORITY,optional)
	@$(call install_fixup, glu,SECTION,base)
	@$(call install_fixup, glu,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
	@$(call install_fixup, glu,DESCRIPTION,missing)

	@$(call install_lib, glu, 0, 0, 0644, libGLU)

	@$(call install_finish, glu)

	@$(call touch)

# vim: syntax=make