os-prober: update to 1.41.

This commit is contained in:
Juan RP 2010-12-18 21:43:28 +01:00
parent b2562c3b36
commit 816dea89e3

View file

@ -1,12 +1,12 @@
# Template file for 'os-prober' # Template file for 'os-prober'
pkgname=os-prober pkgname=os-prober
version=1.39 version=1.41
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=d5b440d5d8872a864c063d17981adedfacb74d9fb478a3a6fa572da6f34e4ccc checksum=0f31cbcf25710fc39c5b26bf325fb6c11cadbd9b08d36d8a2c9d7c75fd8ef777
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 +18,7 @@ Add_dependency full gettext
do_build() do_build()
{ {
cd ${wrksrc} && make || return 1 cd ${wrksrc} && make
} }
do_install() do_install()
@ -36,24 +36,24 @@ do_install()
install -d ${DESTDIR}/usr/lib/os-probes/mounted install -d ${DESTDIR}/usr/lib/os-probes/mounted
install -d ${DESTDIR}/usr/lib/linux-boot-probes/mounted install -d ${DESTDIR}/usr/lib/linux-boot-probes/mounted
cd ${wrksrc} || return 1 cd ${wrksrc}
install -m755 os-prober ${DESTDIR}/usr/bin || return 1 install -m755 os-prober ${DESTDIR}/usr/bin
install -m755 linux-boot-prober ${DESTDIR}/usr/bin || return 1 install -m755 linux-boot-prober ${DESTDIR}/usr/bin
install -m755 newns ${DESTDIR}/usr/lib/os-prober || return 1 install -m755 newns ${DESTDIR}/usr/lib/os-prober
install -m644 common.sh ${DESTDIR}/usr/share/os-prober || return 1 install -m644 common.sh ${DESTDIR}/usr/share/os-prober
cp -a linux-boot-probes/common/* \ cp -a linux-boot-probes/common/* \
${DESTDIR}/usr/lib/linux-boot-probes || return 1 ${DESTDIR}/usr/lib/linux-boot-probes
cp -a linux-boot-probes/mounted/common/* \ cp -a linux-boot-probes/mounted/common/* \
${DESTDIR}/usr/lib/linux-boot-probes/mounted || return 1 ${DESTDIR}/usr/lib/linux-boot-probes/mounted
cp -a linux-boot-probes/mounted/${ARCH}/* \ cp -a linux-boot-probes/mounted/${ARCH}/* \
${DESTDIR}/usr/lib/linux-boot-probes/mounted || return 1 ${DESTDIR}/usr/lib/linux-boot-probes/mounted
cp -a os-probes/common/* ${DESTDIR}/usr/lib/os-probes || return 1 cp -a os-probes/common/* ${DESTDIR}/usr/lib/os-probes
cp -a os-probes/init/common/* \ cp -a os-probes/init/common/* \
${DESTDIR}/usr/lib/os-probes/init || return 1 ${DESTDIR}/usr/lib/os-probes/init
cp -a os-probes/mounted/common/* \ cp -a os-probes/mounted/common/* \
${DESTDIR}/usr/lib/os-probes/mounted || return 1 ${DESTDIR}/usr/lib/os-probes/mounted
cp -a os-probes/mounted/${ARCH}/* \ cp -a os-probes/mounted/${ARCH}/* \
${DESTDIR}/usr/lib/os-probes/mounted || return 1 ${DESTDIR}/usr/lib/os-probes/mounted
} }