wok diff grub2/receipt @ rev 4478
Add grub2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 11 23:16:28 2009 +0100 (2009-11-11) |
parents | |
children | 19b8908aeeca |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/grub2/receipt Wed Nov 11 23:16:28 2009 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="grub2" 1.7 +SOURCE="grub" 1.8 +VERSION="1.97" 1.9 +CATEGORY="base-system" 1.10 +SHORT_DESC="GRUB2 boot loader." 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.13 +DEPENDS="zlib freetype ncurses libusb-compat libusb" 1.14 +BUILD_DEPENDS="zlib-dev freetype-dev ncurses-dev libusb-compat-dev libusb-dev" 1.15 +WEB_SITE="http://www.gnu.org/software/grub/" 1.16 +WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure --prefix=/usr --sysconfdir=/etc \ 1.23 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.24 + make && 1.25 + make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/boot/grub $fs/usr 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 + cp -a $_pkg/usr/sbin $fs/usr 1.34 + cp -a $_pkg/usr/lib $fs/usr 1.35 + cp -a $_pkg/etc $fs 1.36 + 1.37 + # Example config file (grub.cfg). 1.38 + cp stuff/example-grub.cfg $fs/boot/grub 1.39 +} 1.40 +