]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - os-prober/os-prober.nm
tmux: New package.
[people/ms/ipfire-3.x.git] / os-prober / os-prober.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = os-prober
7 version = 1.38
8 release = 1
9
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.
14
15 description
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.
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}
51
52 package %{name}-debuginfo
53 template DEBUGINFO
54 end
55 end