]>
Commit | Line | Data |
---|---|---|
c63a3d2f MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = gnu-efi | |
7 | version = 3.0q | |
8 | release = 1 | |
9 | sup_arches = x86_64 i686 | |
10 | ||
11 | groups = Development/System | |
12 | url = ftp://ftp.hpl.hp.com/pub/linux-ia64 | |
13 | license = BSD | |
14 | summary = Development Libraries and headers for EFI | |
15 | ||
16 | description | |
17 | This package contains development headers and libraries for developing | |
18 | applications that run under EFI (Extensible Firmware Interface). | |
19 | end | |
20 | ||
21 | source_dl = %{url} | |
22 | ||
23 | build | |
24 | # Disable hardening. | |
25 | CFLAGS += -fno-stack-protector | |
26 | ||
27 | make_build_targets += CFLAGS="%{CFLAGS}" | |
28 | ||
29 | install | |
30 | make PREFIX=%{prefix} INSTALLROOT=%{BUILDROOT} \ | |
31 | LIBDIR=%{libdir} CFLAGS="%{CFLAGS}" install | |
32 | ||
33 | mkdir -pv %{BUILDROOT}%{libdir}/gnuefi | |
34 | mv -v %{BUILDROOT}%{libdir}/*.{lds,o} %{BUILDROOT}%{libdir}/gnuefi | |
35 | end | |
36 | ||
37 | keep_libraries | |
38 | %{libdir}/libefi.a | |
39 | %{libdir}/libgnuefi.a | |
40 | end | |
41 | end | |
42 | ||
43 | packages | |
44 | package %{name} | |
45 | end |