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