Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Samuel Holland
packages
Commits
b5b897e4
Verified
Commit
b5b897e4
authored
Oct 14, 2019
by
A. Wilcox
Browse files
user/os-prober: new package
parent
0953fc19
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
+50
-0
user/os-prober/APKBUILD
user/os-prober/APKBUILD
+50
-0
No files found.
user/os-prober/APKBUILD
0 → 100644
View file @
b5b897e4
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname
=
os-prober
pkgver
=
1.77
pkgrel
=
0
pkgdesc
=
"Utility to detect operating systems on hard drives"
url
=
"http://joeyh.name/code/os-prober/"
arch
=
"all"
options
=
"!check"
# No test suite.
license
=
"GPL-2.0+ AND GPL-1.0+"
depends
=
"/bin/sh"
makedepends
=
""
subpackages
=
""
source
=
"http://deb.debian.org/debian/pool/main/o/os-prober/os-prober_
$pkgver
.tar.xz"
build
()
{
make
}
package
()
{
case
$CTARGET_ARCH
in
i486|i586|pmmx|x86
*
)
PROBE_ARCH
=
x86
;;
ppc
*
)
PROBE_ARCH
=
powerpc
;;
sparc
*
)
PROBE_ARCH
=
sparc
;;
*
)
PROBE_ARCH
=
$CTARGET_ARCH
;;
esac
for
probes
in
os-probes os-probes/mounted os-probes/init
\
linux-boot-probes linux-boot-probes/mounted
;
do
mkdir
-p
"
$pkgdir
/usr/lib/
$probes
"
for
file
in
$probes
/common/
*
;
do
install
-Dm644
$file
"
$pkgdir
/usr/lib/
$probes
"
done
if
[
-e
"
$probes
/
${
PROBE_ARCH
}
"
]
;
then
install
-Dm644
$probes
/
${
PROBE_ARCH
}
/
*
\
"
$pkgdir
/usr/lib/
$probes
"
fi
done
mkdir
-p
"
$pkgdir
"
/usr/lib/os-prober
"
$pkgdir
"
/usr/bin
mkdir
-p
"
$pkgdir
"
/usr/share/os-prober
install
-Dm755
newns
"
$pkgdir
"
/usr/lib/os-prober/
install
-Dm755
os-prober
"
$pkgdir
"
/usr/bin/
install
-Dm755
linux-boot-prober
"
$pkgdir
"
/usr/bin/
install
-Dm644
common.sh
"
$pkgdir
"
/usr/share/os-prober/
}
sha512sums
=
"4d9c22ccc4d950644a06a17ec4424aca5ff82aeb20052dc389dd451b6b9a1799c5a9438644a29093153730af42066abbbbb78f593f2564314c9adbd43f60e39b os-prober_1.77.tar.xz"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment