wok annotate os-prober/receipt @ rev 24169
updated os-prober (1.78 -> 1.79)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 06:36:37 2021 +0100 (2021-12-29) |
parents | 5d63651829f6 |
children | 0b7b8e414545 |
rev | line source |
---|---|
Hans-G?nter@24026 | 1 # SliTaz package receipt. |
Hans-G?nter@24026 | 2 |
Hans-G?nter@24026 | 3 PACKAGE="os-prober" |
Hans-G?nter@24169 | 4 VERSION="1.79" |
Hans-G?nter@24026 | 5 CATEGORY="base-system" |
Hans-G?nter@24026 | 6 SHORT_DESC="Utility to detect other OSes on a set of drives." |
Hans-G?nter@24026 | 7 MAINTAINER="maintainer@slitaz.org" |
Hans-G?nter@24026 | 8 LICENSE="GPL3" |
Hans-G?nter@24026 | 9 WEB_SITE="https://joeyh.name/code/os-prober/" |
Hans-G?nter@24026 | 10 |
Hans-G?nter@24026 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@24026 | 12 WGET_URL="http://ftp.debian.org/debian/pool/main/o/$PACKAGE/${PACKAGE}_$VERSION.tar.xz" |
Hans-G?nter@24026 | 13 |
Hans-G?nter@24027 | 14 DEPENDS="coreutils" |
Hans-G?nter@24026 | 15 |
Hans-G?nter@24026 | 16 # Rules to configure and make the package. |
Hans-G?nter@24026 | 17 compile_rules() |
Hans-G?nter@24026 | 18 { |
Hans-G?nter@24026 | 19 make $MAKEFLAGS newns |
Hans-G?nter@24026 | 20 } |
Hans-G?nter@24026 | 21 |
Hans-G?nter@24026 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24026 | 23 genpkg_rules() |
Hans-G?nter@24026 | 24 { |
Hans-G?nter@24026 | 25 mkdir -p $fs/usr/bin |
Hans-G?nter@24026 | 26 mkdir -p $fs/usr/lib/os-prober |
Hans-G?nter@24026 | 27 mkdir -p $fs/usr/share/os-prober |
Hans-G?nter@24026 | 28 mkdir -p $fs/var/lib/os-prober |
Hans-G?nter@24026 | 29 |
Hans-G?nter@24026 | 30 cp -a $src/linux-boot-prober $fs/usr/bin |
Hans-G?nter@24026 | 31 cp -a $src/os-prober $fs/usr/bin |
Hans-G?nter@24026 | 32 cp -a $src/newns $fs/usr/lib/os-prober |
Hans-G?nter@24026 | 33 for dir in os-probes os-probes/mounted os-probes/init linux-boot-probes linux-boot-probes/mounted |
Hans-G?nter@24026 | 34 do |
Hans-G?nter@24169 | 35 install -dm755 $fs/usr/lib/$dir |
Hans-G?nter@24026 | 36 cp -a $src/$dir/common/* $fs/usr/lib/$dir |
Hans-G?nter@24026 | 37 if [ -d $src/$dir/x86 ] |
Hans-G?nter@24026 | 38 then |
Hans-G?nter@24026 | 39 cp -r $src/$dir/x86/* $fs/usr/lib/$dir |
Hans-G?nter@24026 | 40 fi |
Hans-G?nter@24026 | 41 done |
Hans-G?nter@24026 | 42 cp -a $src/os-probes/mounted/powerpc/20macosx \ |
Hans-G?nter@24169 | 43 $fs/usr/lib/os-probes/mounted/20macosx |
Hans-G?nter@24026 | 44 cp -a $src/common.sh $fs/usr/share/os-prober |
Hans-G?nter@24026 | 45 } |