1 ###############################################################################
3 # IPFire.org - A linux based firewall #
4 # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt #
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. #
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. #
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/>. #
19 ###############################################################################
21 ###############################################################################
23 ###############################################################################
25 include $(PKGROOT)/Include
27 PKG_NAME = xorg-x11-proto-devel
32 PKG_MAINTAINER = Stefan Schantl <stefan.schantl@ipfire.org>
33 PKG_GROUP = Development/System
34 PKG_URL = http://www.x.org/
36 PKG_SUMMARY = X11 potocol headers.
38 PKG_BUILD_DEPS+= pkg-config
40 define PKG_DESCRIPTION
41 Development headers for X.org X11 protocol.
44 # Add all development headers to the package
45 # Don't remove empty lines in the defined MACROS!
49 compositeproto-0.4.1 \
63 scrnsaverproto-1.2.0 \
67 xf86bigfontproto-1.2.0 \
71 xf86vidmodeproto-2.3 \
74 xproxymanagementprotocol-1.0.3
76 PKG_OBJECTS += $(foreach package,$(SRC_PACKAGES),$(package).tar.bz2)
79 for object in $(PKG_OBJECTS); do \
80 cd $(DIR_SRC) && $(DO_EXTRACT) $(DIR_DL)/$${object}; \
85 cd $(DIR_SRC)/$(1) && [ -e configure ] || ./autogen.sh
86 cd $(DIR_SRC)/$(1) && ./configure --prefix=/usr
87 cd $(DIR_SRC)/$(1) && make $(PARALLELISMFLAGS)
91 STAGE_BUILD = $(foreach package,$(SRC_PACKAGES),$(call MACRO_BUILD,$(package)))
94 cd $(DIR_SRC)/$(1) && make install DESTDIR=$(BUILDROOT)
98 STAGE_INSTALL = $(foreach package,$(SRC_PACKAGES),$(call MACRO_INSTALL,$(package)))