os-prober: update to 1.47, use v{install,copy,mkdir}.
This commit is contained in:
parent
75d55258a5
commit
e9df0bedde
1 changed files with 23 additions and 28 deletions
|
@ -1,12 +1,14 @@
|
||||||
# Template file for 'os-prober'
|
# Template file for 'os-prober'
|
||||||
pkgname=os-prober
|
pkgname=os-prober
|
||||||
version=1.41
|
version=1.47
|
||||||
wrksrc=${pkgname}
|
wrksrc=${pkgname}
|
||||||
distfiles="${DEBIAN_SITE}/main/o/$pkgname/${pkgname}_$version.tar.gz"
|
distfiles="${DEBIAN_SITE}/main/o/$pkgname/${pkgname}_$version.tar.gz"
|
||||||
build_style=custom-install
|
build_style=custom-install
|
||||||
short_desc="Utility to detect other OSes on a set of drives"
|
short_desc="Utility to detect other OSes on a set of drives"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=0f31cbcf25710fc39c5b26bf325fb6c11cadbd9b08d36d8a2c9d7c75fd8ef777
|
homepage="http://packages.debian.org/sid/os-prober"
|
||||||
|
license="GPL-2"
|
||||||
|
checksum=702c8e0bc148c13708d9e52cf8255b5d7bcd6fbabac3d823f506f2fe2376654f
|
||||||
long_desc="
|
long_desc="
|
||||||
This package detects other OSes available on a system and outputs the
|
This package detects other OSes available on a system and outputs the
|
||||||
results in a generic machine-readable format."
|
results in a generic machine-readable format."
|
||||||
|
@ -18,7 +20,7 @@ Add_dependency full gettext
|
||||||
|
|
||||||
do_build()
|
do_build()
|
||||||
{
|
{
|
||||||
cd ${wrksrc} && make
|
make ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
|
@ -29,31 +31,24 @@ do_install()
|
||||||
i[56]86|x86_64) ARCH=x86;;
|
i[56]86|x86_64) ARCH=x86;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
install -d ${DESTDIR}/usr/bin ${DESTDIR}/usr/lib/os-prober
|
vmkdir usr/lib/os-probes/init
|
||||||
install -d ${DESTDIR}/usr/share/os-prober
|
vmkdir usr/lib/os-probes/mounted
|
||||||
install -d ${DESTDIR}/var/lib/os-prober
|
vmkdir usr/share/os-prober
|
||||||
install -d ${DESTDIR}/usr/lib/os-probes/init
|
vmkdir var/lib/os-prober
|
||||||
install -d ${DESTDIR}/usr/lib/os-probes/mounted
|
vmkdir usr/lib/linux-boot-probes/mounted
|
||||||
install -d ${DESTDIR}/usr/lib/linux-boot-probes/mounted
|
|
||||||
|
|
||||||
cd ${wrksrc}
|
vinstall os-prober 755 usr/bin
|
||||||
install -m755 os-prober ${DESTDIR}/usr/bin
|
vinstall linux-boot-prober 755 usr/bin
|
||||||
install -m755 linux-boot-prober ${DESTDIR}/usr/bin
|
vinstall newns 755 usr/lib/os-prober
|
||||||
install -m755 newns ${DESTDIR}/usr/lib/os-prober
|
vinstall common.sh 644 usr/share/os-prober
|
||||||
install -m644 common.sh ${DESTDIR}/usr/share/os-prober
|
|
||||||
|
|
||||||
cp -a linux-boot-probes/common/* \
|
vcopy "linux-boot-probes/common/*" usr/lib/linux-boot-probes
|
||||||
${DESTDIR}/usr/lib/linux-boot-probes
|
vcopy "linux-boot-probes/mounted/common/*" \
|
||||||
cp -a linux-boot-probes/mounted/common/* \
|
usr/lib/linux-boot-probes/mounted
|
||||||
${DESTDIR}/usr/lib/linux-boot-probes/mounted
|
vcopy "linux-boot-probes/mounted/${ARCH}/*" \
|
||||||
cp -a linux-boot-probes/mounted/${ARCH}/* \
|
usr/lib/linux-boot-probes/mounted
|
||||||
${DESTDIR}/usr/lib/linux-boot-probes/mounted
|
vcopy "os-probes/common/*" usr/lib/os-probes
|
||||||
|
vcopy "os-probes/init/common/*" usr/lib/os-probes/init
|
||||||
cp -a os-probes/common/* ${DESTDIR}/usr/lib/os-probes
|
vcopy "os-probes/mounted/common/*" usr/lib/os-probes/mounted
|
||||||
cp -a os-probes/init/common/* \
|
vcopy "os-probes/mounted/${ARCH}/*" usr/lib/os-probes/mounted
|
||||||
${DESTDIR}/usr/lib/os-probes/init
|
|
||||||
cp -a os-probes/mounted/common/* \
|
|
||||||
${DESTDIR}/usr/lib/os-probes/mounted
|
|
||||||
cp -a os-probes/mounted/${ARCH}/* \
|
|
||||||
${DESTDIR}/usr/lib/os-probes/mounted
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue