1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
10 groups = Development/Tools
11 url = http://joey.kitenet.net/code/os-prober/
13 summary = Utility to detect other OSes on a set of drives.
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.
22 thisapp = %{name}_%{version}
33 DIR_APP = %{DIR_SRC}/%{name}
36 make CFLAGS="%{CFLAGS}" CC=gcc %{PARALLELISMFLAGS}
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
52 package %{name}-debuginfo