Added grub2-1.97~beta3 build template.

--HG--
extra : convert_revision : fbbb67b062ea9cdbad1933d9b6fa8216217ae265
This commit is contained in:
Juan RP 2009-10-04 08:04:12 +02:00
parent 64aea1c5b8
commit f8dd8aeac7
4 changed files with 61 additions and 0 deletions

1
templates/grub2-devel Symbolic link
View file

@ -0,0 +1 @@
grub2

View file

@ -0,0 +1,14 @@
# Template file for 'grub2-devel'.
#
short_desc="GRUB 2 development files"
long_desc="${long_desc}
This package contains files for development, headers, static libs, etc."
Add_dependency run grub2 ${version}
do_install()
{
mkdir -p ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/include ${DESTDIR}/usr
}

View file

@ -0,0 +1,15 @@
#
# Example configuration file for grub2.
#
GRUB_DEFAULT=0
#GRUB_HIDDENT_TIMEOUT=0
#GRUB_HIDDEN_TIMEOUT_QUIET=false
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="XBPS"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
#GRUB_TERMINAL=console
GRUB_GFXMODE=640x480
#GRUB_DISABLE_LINUX_UUID=true
#GRUB_DISABLE_LINUX_RECOVERY=true

31
templates/grub2/template Normal file
View file

@ -0,0 +1,31 @@
# Template file for 'grub2'
pkgname=grub2
version=1.97~beta3
wrksrc=grub-$version
distfiles="ftp://alpha.gnu.org/gnu/grub/grub-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-grub-emu --enable-grub-emu-usb
--enable-grub-fstest --enable-grub-pe2elf --enable-grub-mkfont"
short_desc="GRand Unified Bootloader 2"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=8a396ddd54ac46c2d3dcb8f1b73c5434b11249b041d3aacdd945f75302da2bb7
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."
subpackages="devel"
conf_files="/etc/default/grub /etc/grub.d/40_custom"
Add_dependency full glibc
Add_dependency build bison
Add_dependency full libusb-compat
Add_dependency build ncurses
Add_dependency full freetype
post_install()
{
install -d ${DESTDIR}/etc/default
install -m644 ${FILESDIR}/grub.default ${DESTDIR}/etc/default/grub
}
Add_dependency build ruby