wok view grub2/receipt @ rev 9470
Remove some uneeded strips (thoses ones are handled by Tazwok)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Apr 04 01:29:52 2011 +0200 (2011-04-04) |
parents | 29d88a35aadf |
children | b2098fa1f6ea |
line source
1 # SliTaz package receipt.
3 PACKAGE="grub2"
4 SOURCE="grub"
5 VERSION="1.98"
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 grep libusb"
11 BUILD_DEPENDS="bison 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 chmod +x install-sh
20 ./configure --prefix=/usr --sysconfdir=/etc \
21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/boot/grub $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 cp -a $_pkg/etc $fs
35 # Example config file (grub.cfg).
36 cp stuff/example-grub.cfg $fs/boot/grub
37 }