wok-current view grub2/receipt @ rev 4479
Up grub2 (1.97.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 11 23:27:08 2009 +0100 (2009-11-11) |
parents | c967459ef972 |
children | 7178ee57551a |
line source
1 # SliTaz package receipt.
3 PACKAGE="grub2"
4 SOURCE="grub"
5 VERSION="1.97.1"
6 CATEGORY="base-system"
7 SHORT_DESC="GRUB2 boot loader."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 DEPENDS="zlib freetype ncurses libusb-compat libusb"
11 BUILD_DEPENDS="zlib-dev freetype-dev ncurses-dev libusb-compat-dev libusb-dev"
12 WEB_SITE="http://www.gnu.org/software/grub/"
13 WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --sysconfdir=/etc \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/boot/grub $fs/usr
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/sbin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
32 cp -a $_pkg/etc $fs
34 # Example config file (grub.cfg).
35 cp stuff/example-grub.cfg $fs/boot/grub
36 }