void-packages/srcpkgs/os-prober/template

36 lines
1 KiB
Text
Raw Normal View History

# Template file for 'os-prober'
pkgname=os-prober
2013-12-22 10:30:52 +00:00
version=1.63
revision=3
short_desc="Utility to detect other OSes on a set of drives"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://packages.debian.org/sid/os-prober"
license="GPL-2"
2012-07-04 08:19:48 +00:00
distfiles="${DEBIAN_SITE}/main/o/$pkgname/${pkgname}_$version.tar.gz"
2013-12-22 10:30:52 +00:00
checksum=3065bc32e65ab80549721937d357f60ce659c18e5e32a6959c21b38a901c559b
2011-11-09 16:21:51 +00:00
do_build() {
make ${makejobs}
}
2011-11-09 16:21:51 +00:00
do_install() {
vinstall linux-boot-prober 755 usr/bin
2013-07-03 00:16:00 +00:00
vinstall os-prober 755 usr/bin
vinstall newns 755 usr/lib/os-prober
2013-07-03 00:16:00 +00:00
vinstall common.sh 755 usr/share/os-prober
2013-07-03 00:16:00 +00: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
2013-12-22 10:30:52 +00:00
vinstall os-probes/mounted/powerpc/20macosx 755 usr/lib/os-probes/mounted
}
os-prober_package() {
2013-07-03 00:18:24 +00:00
make_dirs="/var/lib/os-prober 0755 root root"
pkg_install() {
2013-07-03 00:04:09 +00:00
vmove all
}
}