2010-02-18 03:53:10 +00:00
|
|
|
# Template file for 'grub'
|
|
|
|
pkgname=grub
|
2012-06-27 15:40:24 +00:00
|
|
|
version="2.00~rc1"
|
2012-04-24 07:32:51 +00:00
|
|
|
revision=1
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2012-03-19 09:20:19 +00:00
|
|
|
configure_args="--disable-werror"
|
2012-06-18 06:38:47 +00:00
|
|
|
makedepends="flex libusb-compat-devel ncurses-devel freetype-devel liblzma-devel device-mapper-devel font-unifont-bdf fuse-devel"
|
2012-05-23 16:26:56 +00:00
|
|
|
fulldepends="os-prober"
|
2009-10-04 06:04:12 +00:00
|
|
|
short_desc="GRand Unified Bootloader 2"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-03-19 09:20:19 +00:00
|
|
|
license="GPL-3"
|
2012-06-18 06:38:47 +00:00
|
|
|
homepage="http://www.gnu.org/software/grub/"
|
|
|
|
distfiles="http://alpha.gnu.org/gnu/grub/grub-$version.tar.xz"
|
2012-06-27 15:40:24 +00:00
|
|
|
checksum=b203d04589bfb743d2844a695c2ae8ea11a3ee034c346a989f4474addb4ed032
|
2009-10-04 06:04:12 +00:00
|
|
|
long_desc="
|
|
|
|
This is GRUB 2, the second version of the GRand Unified Bootloader.
|
|
|
|
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
|
|
|
|
robust, more powerful, and more portable."
|
|
|
|
|
|
|
|
conf_files="/etc/default/grub /etc/grub.d/40_custom"
|
|
|
|
|
2012-03-19 09:20:19 +00:00
|
|
|
pre_configure() {
|
2011-10-18 15:55:28 +00:00
|
|
|
# fix unifont.bdf location so grub-mkfont can create *.pf2 files
|
|
|
|
sed -i 's|/usr/share/fonts/unifont|/usr/share/fonts/misc|' configure
|
|
|
|
}
|
|
|
|
|
2012-03-19 09:20:19 +00:00
|
|
|
post_install() {
|
2011-07-09 22:03:36 +00:00
|
|
|
# Required to compress info files.
|
|
|
|
vmkdir usr/share/info
|
|
|
|
touch -f ${DESTDIR}/usr/share/info/dir
|
|
|
|
|
|
|
|
vinstall ${FILESDIR}/grub.default 644 etc/default grub
|
|
|
|
# Kernel hooks.
|
|
|
|
vinstall ${FILESDIR}/kernel.d/grub.post 750 \
|
|
|
|
etc/kernel.d/post-install 50-grub
|
|
|
|
vinstall ${FILESDIR}/kernel.d/grub.post 750 \
|
|
|
|
etc/kernel.d/post-remove 50-grub
|
2009-10-04 06:04:12 +00:00
|
|
|
}
|