]> git.ipfire.org Git - ipfire-3.x.git/blame - pkgs/xorg-x11-proto-devel/xorg-x11-proto-devel.nm
avahi: Update to 0.6.30.
[ipfire-3.x.git] / pkgs / xorg-x11-proto-devel / xorg-x11-proto-devel.nm
CommitLineData
f7431026
MT
1###############################################################################
2# #
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
7# it under the terms of the GNU General Public License as published by #
8# the Free Software Foundation, either version 3 of the License, or #
9# (at your option) any later version. #
10# #
11# This program is distributed in the hope that it will be useful, #
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
18# #
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include $(PKGROOT)/Include
26
27PKG_NAME = xorg-x11-proto-devel
28PKG_VER = 7.4
98c64b05 29PKG_REL = 2
555c7ed4 30PKG_ARCH = noarch
f7431026 31
9784d377 32PKG_MAINTAINER = Stefan Schantl <stefan.schantl@ipfire.org>
bb7d617c 33PKG_GROUPS = Development/System
f7431026
MT
34PKG_URL = http://www.x.org/
35PKG_LICENSE = MIT
36PKG_SUMMARY = X11 potocol headers.
37
38PKG_BUILD_DEPS+= pkg-config
39
40define PKG_DESCRIPTION
41 Development headers for X.org X11 protocol.
42endef
43
44# Add all development headers to the package
45# Don't remove empty lines in the defined MACROS!
46
47SRC_PACKAGES = \
48 bigreqsproto-1.1.0 \
49 compositeproto-0.4.1 \
50 damageproto-1.2.0 \
51 dmxproto-2.3 \
52 dri2proto-2.3 \
53 evieext-1.1.0 \
54 fixesproto-4.1.1\
55 fontsproto-2.1.0 \
56 glproto-1.4.12 \
57 inputproto-2.0 \
58 kbproto-1.0.5 \
59 randrproto-1.3.1 \
60 recordproto-1.14 \
61 renderproto-0.11.1 \
62 resourceproto-1.1.0 \
63 scrnsaverproto-1.2.0 \
64 videoproto-2.3.1 \
65 xcmiscproto-1.2.0 \
66 xextproto-7.1.2 \
67 xf86bigfontproto-1.2.0 \
68 xf86dgaproto-2.1 \
69 xf86driproto-2.1.0 \
70 xf86miscproto-0.9.3 \
71 xf86vidmodeproto-2.3 \
72 xineramaproto-1.2 \
73 xproto-7.0.18 \
74 xproxymanagementprotocol-1.0.3
75
76PKG_OBJECTS += $(foreach package,$(SRC_PACKAGES),$(package).tar.bz2)
77
78define STAGE_PREPARE
79 for object in $(PKG_OBJECTS); do \
80 cd $(DIR_SRC) && $(DO_EXTRACT) $(DIR_DL)/$${object}; \
81 done
82endef
83
84define MACRO_BUILD
85 cd $(DIR_SRC)/$(1) && [ -e configure ] || ./autogen.sh
86 cd $(DIR_SRC)/$(1) && ./configure --prefix=/usr
87 cd $(DIR_SRC)/$(1) && make $(PARALLELISMFLAGS)
88
89endef
90
91STAGE_BUILD = $(foreach package,$(SRC_PACKAGES),$(call MACRO_BUILD,$(package)))
92
93define MACRO_INSTALL
94 cd $(DIR_SRC)/$(1) && make install DESTDIR=$(BUILDROOT)
95
96endef
97
98STAGE_INSTALL = $(foreach package,$(SRC_PACKAGES),$(call MACRO_INSTALL,$(package)))
99
100