]>
Commit | Line | Data |
---|---|---|
8a7c50e0 | 1 | ############################################################################### |
802ea3af MT |
2 | # IPFire.org - An Open Source Firewall Solution # |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
8a7c50e0 MT |
4 | ############################################################################### |
5 | ||
802ea3af MT |
6 | name = os-prober |
7 | version = 1.38 | |
8 | release = 1 | |
8a7c50e0 | 9 | |
802ea3af MT |
10 | groups = Development/Tools |
11 | url = http://joey.kitenet.net/code/os-prober/ | |
12 | license = GPL | |
13 | summary = Utility to detect other OSes on a set of drives. | |
8a7c50e0 | 14 | |
802ea3af | 15 | description |
8a7c50e0 MT |
16 | os-prober is a spinoff of debian-installer. One of the installer's features \ |
17 | is that it can probe disks on the system for other operating systems, and \ | |
18 | add them to the boot loader, so that installing Debian doesn't make your \ | |
19 | other installed OS hard to boot. | |
802ea3af MT |
20 | end |
21 | ||
22 | thisapp = %{name}_%{version} | |
23 | source_dl = | |
24 | ||
25 | build | |
26 | requires | |
27 | dmraid-devel | |
28 | libdevmapper-devel | |
29 | libudev-devel | |
30 | libuuid-devel | |
31 | end | |
32 | ||
33 | DIR_APP = %{DIR_SRC}/%{name} | |
34 | ||
35 | build | |
36 | make CFLAGS="%{CFLAGS}" CC=gcc %{PARALLELISMFLAGS} | |
37 | end | |
38 | ||
39 | install | |
40 | mkdir -pv %{BUILDROOT}/usr/{bin,lib/os-prober,share/os-prober} | |
41 | cp -vf common.sh %{BUILDROOT}/usr/share/os-prober/common.sh | |
42 | cp -vf newns %{BUILDROOT}/usr/lib/os-prober/ | |
43 | cp -vrf {linux-boot,os}-probes %{BUILDROOT}/usr/lib/ | |
44 | cp -vf {linux-boot,os}-prober %{BUILDROOT}/usr/bin/ | |
45 | chmod -v 755 %{BUILDROOT}/usr/bin/{linux-boot,os}-prober | |
46 | end | |
47 | end | |
48 | ||
49 | packages | |
50 | package %{name} | |
1f9bc2f0 MT |
51 | |
52 | package %{name}-debuginfo | |
53 | template DEBUGINFO | |
54 | end | |
802ea3af | 55 | end |