]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - xorg-x11-proto-devel/xorg-x11-proto-devel.nm
Merge remote-tracking branch 'ms/pdns'
[people/ms/ipfire-3.x.git] / xorg-x11-proto-devel / xorg-x11-proto-devel.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = xorg-x11-proto-devel
7 version = 7.6
8 release = 1
9 arch = noarch
10
11 maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
12 groups = Development/System
13 url = http://www.x.org/
14 license = MIT
15 summary = X11 potocol headers.
16
17 description
18 Development headers for X.org X11 protocol.
19 end
20
21 build_requires += pkg-config
22
23 source_dl = http://ftp.x.org/pub/individual/proto/
24 sources = \
25 bigreqsproto-1.1.2.tar.bz2 \
26 compositeproto-0.4.2.tar.bz2 \
27 damageproto-1.2.1.tar.bz2 \
28 dmxproto-2.3.1.tar.bz2 \
29 dri2proto-2.8.tar.bz2 \
30 evieext-1.1.1.tar.bz2 \
31 fixesproto-5.0.tar.bz2 \
32 fontsproto-2.1.2.tar.bz2 \
33 glproto-1.4.16.tar.bz2 \
34 inputproto-2.2.tar.bz2 \
35 kbproto-1.0.6.tar.bz2 \
36 randrproto-1.4.0.tar.bz2 \
37 recordproto-1.14.2.tar.bz2 \
38 renderproto-0.11.1.tar.bz2 \
39 resourceproto-1.2.0.tar.bz2 \
40 scrnsaverproto-1.2.2.tar.bz2 \
41 videoproto-2.3.1.tar.bz2 \
42 xcmiscproto-1.2.2.tar.bz2 \
43 xextproto-7.2.1.tar.bz2 \
44 xf86bigfontproto-1.2.0.tar.bz2 \
45 xf86dgaproto-2.1.tar.bz2 \
46 xf86driproto-2.1.1.tar.bz2 \
47 xf86miscproto-0.9.3.tar.bz2 \
48 xf86vidmodeproto-2.3.1.tar.bz2 \
49 xineramaproto-1.2.1.tar.bz2 \
50 xproto-7.0.23.tar.bz2 \
51 xproxymanagementprotocol-1.0.3.tar.bz2
52
53 build
54 prepare
55 # Extract all source tarballs.
56 for object in %{sources}; do
57 %{MACRO_EXTRACT} %{DIR_DL}/${object}
58 done
59 end
60
61 # Place the .pc files in /usr/share so they
62 # can be found on all architectures where libdir != /usr/lib.
63 configure_options += \
64 --libdir=%{datadir}
65
66 build
67 for object in %{sources}; do
68 cd %{DIR_SRC}/${object%*.tar.bz2}
69 [ -e configure ] || ./autogen.sh
70 ./configure %{configure_options}
71
72 make %{PARALLELISMFLAGS}
73 done
74 end
75
76 install
77 for object in %{sources}; do
78 cd %{DIR_SRC}/${object%*.tar.bz2}
79 make install DESTDIR=%{BUILDROOT}
80 done
81 end
82 end
83
84 packages
85 package %{name}
86 end