grub: remove ppc/sparc64 utils; move uncommon utils to -utils to reduce rdeps.

This commit is contained in:
Juan RP 2014-08-28 23:08:06 +02:00
parent c0049997be
commit 30e208e028
2 changed files with 22 additions and 1 deletions

1
srcpkgs/grub-utils Symbolic link
View file

@ -0,0 +1 @@
grub

View file

@ -1,7 +1,7 @@
# Template file for 'grub'
pkgname=grub
version=2.00
revision=13
revision=14
hostmakedepends="flex"
makedepends="libusb-compat-devel ncurses-devel freetype-devel
liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
@ -87,6 +87,26 @@ do_install() {
vmkdir usr/share/bash-completion/completions
mv ${DESTDIR}/etc/bash_completion.d/grub \
${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