]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - os-prober/os-prober.nm
make: The man page has been installed in a wrong directory.
[people/amarx/ipfire-3.x.git] / os-prober / os-prober.nm
CommitLineData
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
6name = os-prober
7version = 1.38
8release = 1
8a7c50e0 9
802ea3af
MT
10groups = Development/Tools
11url = http://joey.kitenet.net/code/os-prober/
12license = GPL
13summary = Utility to detect other OSes on a set of drives.
8a7c50e0 14
802ea3af 15description
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
20end
21
22thisapp = %{name}_%{version}
23source_dl =
24
25build
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
47end
48
49packages
50 package %{name}
1f9bc2f0
MT
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
802ea3af 55end