]>
Commit | Line | Data |
---|---|---|
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.7 | |
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 | source_dl = http://ftp.x.org/pub/individual/proto/ | |
22 | sources = \ | |
23 | bigreqsproto-1.1.2.tar.bz2 \ | |
24 | compositeproto-0.4.2.tar.bz2 \ | |
25 | damageproto-1.2.1.tar.bz2 \ | |
26 | dmxproto-2.3.1.tar.bz2 \ | |
27 | dri2proto-2.8.tar.bz2 \ | |
28 | evieext-1.1.1.tar.bz2 \ | |
29 | fixesproto-5.0.tar.bz2 \ | |
30 | fontsproto-2.1.2.tar.bz2 \ | |
31 | glproto-1.4.16.tar.bz2 \ | |
32 | inputproto-2.2.99.1.tar.bz2 \ | |
33 | kbproto-1.0.6.tar.bz2 \ | |
34 | randrproto-1.4.0.tar.bz2 \ | |
35 | recordproto-1.14.2.tar.bz2 \ | |
36 | renderproto-0.11.1.tar.bz2 \ | |
37 | resourceproto-1.2.0.tar.bz2 \ | |
38 | scrnsaverproto-1.2.2.tar.bz2 \ | |
39 | videoproto-2.3.1.tar.bz2 \ | |
40 | xcmiscproto-1.2.2.tar.bz2 \ | |
41 | xextproto-7.2.1.tar.bz2 \ | |
42 | xf86bigfontproto-1.2.0.tar.bz2 \ | |
43 | xf86dgaproto-2.1.tar.bz2 \ | |
44 | xf86driproto-2.1.1.tar.bz2 \ | |
45 | xf86miscproto-0.9.3.tar.bz2 \ | |
46 | xf86vidmodeproto-2.3.1.tar.bz2 \ | |
47 | xineramaproto-1.2.1.tar.bz2 \ | |
48 | xproto-7.0.23.tar.bz2 \ | |
49 | xproxymanagementprotocol-1.0.3.tar.bz2 | |
50 | ||
51 | build | |
52 | requires | |
53 | pkg-config | |
54 | xorg-x11-util-macros | |
55 | end | |
56 | ||
57 | prepare | |
58 | # Extract all source tarballs. | |
59 | for object in %{sources}; do | |
60 | %{MACRO_EXTRACT} %{DIR_DL}/${object} | |
61 | done | |
62 | end | |
63 | ||
64 | # Place the .pc files in /usr/share so they | |
65 | # can be found on all architectures where libdir != /usr/lib. | |
66 | configure_options += \ | |
67 | --libdir=%{datadir} | |
68 | ||
69 | build | |
70 | for object in %{sources}; do | |
71 | cd %{DIR_SRC}/${object%*.tar.bz2} | |
72 | [ -e configure ] || ./autogen.sh | |
73 | ./configure %{configure_options} | |
74 | ||
75 | make %{PARALLELISMFLAGS} | |
76 | done | |
77 | end | |
78 | ||
79 | install | |
80 | for object in %{sources}; do | |
81 | cd %{DIR_SRC}/${object%*.tar.bz2} | |
82 | make install DESTDIR=%{BUILDROOT} | |
83 | done | |
84 | end | |
85 | end | |
86 | ||
87 | packages | |
88 | package %{name} | |
89 | end |