grub: remove ppc/sparc64 utils; move uncommon utils to -utils to reduce rdeps.
This commit is contained in:
parent
c0049997be
commit
30e208e028
|
@ -0,0 +1 @@
|
||||||
|
grub
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'grub'
|
# Template file for 'grub'
|
||||||
pkgname=grub
|
pkgname=grub
|
||||||
version=2.00
|
version=2.00
|
||||||
revision=13
|
revision=14
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
makedepends="libusb-compat-devel ncurses-devel freetype-devel
|
makedepends="libusb-compat-devel ncurses-devel freetype-devel
|
||||||
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
||||||
|
@ -87,6 +87,26 @@ do_install() {
|
||||||
vmkdir usr/share/bash-completion/completions
|
vmkdir usr/share/bash-completion/completions
|
||||||
mv ${DESTDIR}/etc/bash_completion.d/grub \
|
mv ${DESTDIR}/etc/bash_completion.d/grub \
|
||||||
${DESTDIR}/usr/share/bash-completion/completions
|
${DESTDIR}/usr/share/bash-completion/completions
|
||||||
|
|
||||||
|
# Remove useless tools
|
||||||
|
rm ${DESTDIR}/usr/sbin/grub-ofpathname
|
||||||
|
rm ${DESTDIR}/usr/sbin/grub-sparc64-setup
|
||||||
|
}
|
||||||
|
|
||||||
|
grub-utils_package() {
|
||||||
|
short_desc+=" - additional utilities"
|
||||||
|
depends="grub>=${version}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/bin/grub-menulst2cfg
|
||||||
|
vmove usr/bin/grub-mkrelpath
|
||||||
|
vmove usr/bin/grub-mkpasswd-pbkdf2
|
||||||
|
vmove usr/bin/grub-script-check
|
||||||
|
vmove usr/bin/grub-editenv
|
||||||
|
vmove usr/bin/grub-mklayout
|
||||||
|
vmove usr/bin/grub-fstest
|
||||||
|
vmove usr/bin/grub-mkfont
|
||||||
|
vmove usr/bin/grub-mount
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
if [ "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||||
|
|
Loading…
Reference in New Issue