2010-02-18 07:09:51 +01:00
|
|
|
# Template file for 'os-prober'
|
|
|
|
pkgname=os-prober
|
2013-07-03 01:58:21 +02:00
|
|
|
version=1.58
|
2013-07-03 02:18:24 +02:00
|
|
|
revision=5
|
2010-02-18 07:09:51 +01:00
|
|
|
short_desc="Utility to detect other OSes on a set of drives"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-07-02 10:52:05 +02:00
|
|
|
homepage="http://packages.debian.org/sid/os-prober"
|
|
|
|
license="GPL-2"
|
2012-07-04 10:19:48 +02:00
|
|
|
distfiles="${DEBIAN_SITE}/main/o/$pkgname/${pkgname}_$version.tar.gz"
|
2013-07-03 01:58:21 +02:00
|
|
|
checksum=db1d936c0356e7a7c2dab5e9aebdf4132e745fd2972ba5016ed6690a0445ea93
|
2010-02-18 07:09:51 +01:00
|
|
|
|
2011-11-09 17:21:51 +01:00
|
|
|
do_build() {
|
2011-07-02 10:52:05 +02:00
|
|
|
make ${makejobs}
|
2010-02-18 07:09:51 +01:00
|
|
|
}
|
|
|
|
|
2011-11-09 17:21:51 +01:00
|
|
|
do_install() {
|
2011-07-02 10:52:05 +02:00
|
|
|
vinstall linux-boot-prober 755 usr/bin
|
2013-07-03 02:16:00 +02:00
|
|
|
vinstall os-prober 755 usr/bin
|
2011-07-02 10:52:05 +02:00
|
|
|
vinstall newns 755 usr/lib/os-prober
|
2013-07-03 02:16:00 +02:00
|
|
|
vinstall common.sh 755 usr/share/os-prober
|
2011-07-02 10:52:05 +02:00
|
|
|
|
2013-07-03 02:16:00 +02:00
|
|
|
for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted; do
|
|
|
|
vmkdir usr/lib/${dir}
|
|
|
|
install -m755 -t ${DESTDIR}/usr/lib/${dir} ${dir}/common/*
|
|
|
|
[ -d ${dir}/x86 ] && cp -r ${dir}/x86/* ${DESTDIR}/usr/lib/${dir}
|
|
|
|
done
|
|
|
|
vinstall os-probes/mounted/powerpc/20macosx 755 usr/lib/os-probes/mounted/20macosx
|
2010-02-18 07:09:51 +01:00
|
|
|
}
|
2013-04-14 05:01:48 +02:00
|
|
|
|
|
|
|
os-prober_package() {
|
2013-07-03 02:18:24 +02:00
|
|
|
make_dirs="/var/lib/os-prober 0755 root root"
|
2013-04-14 05:01:48 +02:00
|
|
|
pkg_install() {
|
2013-07-03 02:04:09 +02:00
|
|
|
vmove all
|
2013-04-14 05:01:48 +02:00
|
|
|
}
|
|
|
|
}
|