]> git.ipfire.org Git - ipfire-3.x.git/blame - xorg-x11-proto-devel/xorg-x11-proto-devel.nm
xorg-x11-proto-devel: Fix build on aarch64
[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 6name = xorg-x11-proto-devel
9b9b4e0b 7version = 7.7
ab1dffff 8release = 2
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
802ea3af
MT
21source_dl = http://ftp.x.org/pub/individual/proto/
22sources = \
d65aeb50
EK
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 \
9b9b4e0b 32 inputproto-2.2.99.1.tar.bz2 \
d65aeb50
EK
33 kbproto-1.0.6.tar.bz2 \
34 randrproto-1.4.0.tar.bz2 \
35 recordproto-1.14.2.tar.bz2 \
802ea3af 36 renderproto-0.11.1.tar.bz2 \
d65aeb50
EK
37 resourceproto-1.2.0.tar.bz2 \
38 scrnsaverproto-1.2.2.tar.bz2 \
802ea3af 39 videoproto-2.3.1.tar.bz2 \
d65aeb50
EK
40 xcmiscproto-1.2.2.tar.bz2 \
41 xextproto-7.2.1.tar.bz2 \
802ea3af
MT
42 xf86bigfontproto-1.2.0.tar.bz2 \
43 xf86dgaproto-2.1.tar.bz2 \
d65aeb50 44 xf86driproto-2.1.1.tar.bz2 \
802ea3af 45 xf86miscproto-0.9.3.tar.bz2 \
d65aeb50
EK
46 xf86vidmodeproto-2.3.1.tar.bz2 \
47 xineramaproto-1.2.1.tar.bz2 \
48 xproto-7.0.23.tar.bz2 \
802ea3af
MT
49 xproxymanagementprotocol-1.0.3.tar.bz2
50
51build
9b9b4e0b
SS
52 requires
53 pkg-config
54 xorg-x11-util-macros
55 end
56
802ea3af
MT
57 prepare
58 # Extract all source tarballs.
59 for object in %{sources}; do
60 %{MACRO_EXTRACT} %{DIR_DL}/${object}
61 done
ab1dffff
MT
62
63 %{MACRO_FIX_AUTOTOOLS}
802ea3af
MT
64 end
65
cb1de7e7
MT
66 # Place the .pc files in /usr/share so they
67 # can be found on all architectures where libdir != /usr/lib.
68 configure_options += \
69 --libdir=%{datadir}
70
802ea3af
MT
71 build
72 for object in %{sources}; do
73 cd %{DIR_SRC}/${object%*.tar.bz2}
74 [ -e configure ] || ./autogen.sh
75 ./configure %{configure_options}
76
1429c856 77 make %{PARALLELISMFLAGS}
802ea3af
MT
78 done
79 end
80
81 install
82 for object in %{sources}; do
83 cd %{DIR_SRC}/${object%*.tar.bz2}
84 make install DESTDIR=%{BUILDROOT}
85 done
86 end
87end
88
89packages
90 package %{name}
802ea3af 91end