wok view grub2/receipt @ rev 13115
grub2: add libdevmapper support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 28 15:37:30 2012 +0200 (2012-06-28) |
parents | b2098fa1f6ea |
children | c86fbbc54081 |
line source
1 # SliTaz package receipt.
3 PACKAGE="grub2"
4 SOURCE="grub"
5 VERSION="2.00"
6 CATEGORY="base-system"
7 SHORT_DESC="GRUB2 boot loader."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="$SOURCE-$VERSION.tar.xz"
10 DEPENDS="zlib freetype ncurses libusb-compat grep libusb libdevmapper"
11 BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev \
12 libusb-compat-dev libusb-dev libdevmapper-dev"
13 WEB_SITE="http://www.gnu.org/software/grub/"
14 WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 chmod +x install-sh
21 ./configure --prefix=/usr --sysconfdir=/etc \
22 --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/boot/grub $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib $fs/usr
34 cp -a $_pkg/etc $fs
36 # Example config file (grub.cfg).
37 cp stuff/example-grub.cfg $fs/boot/grub
38 }