2010-02-18 03:53:10 +00:00
|
|
|
# Template file for 'grub'
|
|
|
|
pkgname=grub
|
2011-01-29 01:27:35 +00:00
|
|
|
_distver=1.99
|
2011-04-27 15:05:14 +00:00
|
|
|
_patchver=rc2
|
2011-01-29 01:27:35 +00:00
|
|
|
version=${_distver}${_patchver}
|
|
|
|
wrksrc="grub-${_distver}~${_patchver}"
|
|
|
|
distfiles="ftp://alpha.gnu.org/gnu/grub/grub-${_distver}~${_patchver}.tar.gz"
|
2009-10-04 06:04:12 +00:00
|
|
|
build_style=gnu_configure
|
|
|
|
short_desc="GRand Unified Bootloader 2"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-04-27 15:05:14 +00:00
|
|
|
checksum=ea8f243c95851d58d34ac04910929395790e9b9383d6deb2bb6750435bc3e7bd
|
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"
|
|
|
|
|
2010-02-18 03:53:10 +00:00
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run zlib
|
|
|
|
Add_dependency run libusb-compat
|
|
|
|
Add_dependency run ncurses-libs
|
|
|
|
Add_dependency run freetype
|
2011-01-29 01:27:35 +00:00
|
|
|
Add_dependency run liblzma
|
|
|
|
Add_dependency run device-mapper
|
2010-02-18 03:53:10 +00:00
|
|
|
Add_dependency build bison
|
|
|
|
Add_dependency build zlib-devel
|
|
|
|
Add_dependency build libusb-compat-devel
|
|
|
|
Add_dependency build ncurses-devel
|
|
|
|
Add_dependency build freetype-devel
|
|
|
|
Add_dependency build ruby
|
2011-01-29 01:27:35 +00:00
|
|
|
Add_dependency build liblzma-devel
|
|
|
|
Add_dependency build device-mapper-devel
|
2010-02-18 06:12:34 +00:00
|
|
|
Add_dependency full os-prober
|
2009-10-04 06:04:12 +00:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
|
|
|
install -d ${DESTDIR}/etc/default
|
|
|
|
install -m644 ${FILESDIR}/grub.default ${DESTDIR}/etc/default/grub
|
|
|
|
}
|