]> git.ipfire.org Git - ipfire-3.x.git/blame - xorg-x11-proto-devel/xorg-x11-proto-devel.nm
xorg-x11-proto-devel: Fix invalid location of .pc files.
[ipfire-3.x.git] / xorg-x11-proto-devel / xorg-x11-proto-devel.nm
CommitLineData
f7431026 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
f7431026
MT
4###############################################################################
5
802ea3af
MT
6name = xorg-x11-proto-devel
7version = 7.4
cb1de7e7 8release = 3
802ea3af
MT
9arch = noarch
10
11maintainer = Stefan Schantl <stefan.schantl@ipfire.org>
12groups = Development/System
13url = http://www.x.org/
14license = MIT
15summary = X11 potocol headers.
16
17description
18 Development headers for X.org X11 protocol.
19end
20
21build_requires += pkg-config
22
23source_dl = http://ftp.x.org/pub/individual/proto/
24sources = \
25 bigreqsproto-1.1.0.tar.bz2 \
26 compositeproto-0.4.1.tar.bz2 \
27 damageproto-1.2.0.tar.bz2 \
28 dmxproto-2.3.tar.bz2 \
29 dri2proto-2.3.tar.bz2 \
30 evieext-1.1.0.tar.bz2 \
31 fixesproto-4.1.1.tar.bz2 \
32 fontsproto-2.1.0.tar.bz2 \
33 glproto-1.4.12.tar.bz2 \
34 inputproto-2.0.tar.bz2 \
35 kbproto-1.0.5.tar.bz2 \
36 randrproto-1.3.1.tar.bz2 \
37 recordproto-1.14.tar.bz2 \
38 renderproto-0.11.1.tar.bz2 \
39 resourceproto-1.1.0.tar.bz2 \
40 scrnsaverproto-1.2.0.tar.bz2 \
41 videoproto-2.3.1.tar.bz2 \
42 xcmiscproto-1.2.0.tar.bz2 \
43 xextproto-7.1.2.tar.bz2 \
44 xf86bigfontproto-1.2.0.tar.bz2 \
45 xf86dgaproto-2.1.tar.bz2 \
46 xf86driproto-2.1.0.tar.bz2 \
47 xf86miscproto-0.9.3.tar.bz2 \
48 xf86vidmodeproto-2.3.tar.bz2 \
49 xineramaproto-1.2.tar.bz2 \
50 xproto-7.0.18.tar.bz2 \
51 xproxymanagementprotocol-1.0.3.tar.bz2
52
53build
54 prepare
55 # Extract all source tarballs.
56 for object in %{sources}; do
57 %{MACRO_EXTRACT} %{DIR_DL}/${object}
58 done
59 end
60
cb1de7e7
MT
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
802ea3af
MT
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 %{PARALELLISMFLAGS}
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
82end
83
84packages
85 package %{name}
802ea3af 86end