void-packages/srcpkgs/grub2/template
Juan RP 85cc462e1d Major infrastructure changes, part 2.
* Moved helpers, common and triggers dirs into xbps-src, where
  they belong.
* Renamed the templates dir to srcpkgs, it was so redundant before.
* Make it possible to add subpkgs with no restriction in names, for
  example udev now has a subpkgs called "libgudev". Previously
  subpkgs were named "${sourcepkg}-${pkgname}".
* xbps-src: changed to look for template files in current directory.
  That means that most arguments from the targets have been removed.
* xbps-src: added a reinstall target, to remove + install.
* xbps-src: do not overwrite binpkgs by default, skip them.

And more that I forgot because it's a mega-commit that I've been
working for some days already...

--HG--
extra : convert_revision : 0f466878584d1e6895d2a234f07ea1b2d1e61b3e
2009-11-22 08:31:44 +01:00

31 lines
988 B
Plaintext

# Template file for 'grub2'
pkgname=grub2
version=1.97.1
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=51f04517a3eb730a0f66e68cf5b0e376f6a073899b4405b2ac14667825f937bf
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"
Add_dependency full glibc
Add_dependency build bison
Add_dependency full libusb-compat
Add_dependency build ncurses
Add_dependency full freetype
Add_dependency build ruby
post_install()
{
install -d ${DESTDIR}/etc/default
install -m644 ${FILESDIR}/grub.default ${DESTDIR}/etc/default/grub
}