wok view grub/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 | 7b9886355889 |
children | d1768332cee0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="grub"
4 VERSION="0.97"
5 CATEGORY="base-system"
6 SHORT_DESC="GRUB boot loader."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/grub/"
10 WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL"
11 CONFIG_FILES="/boot/grub"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 for i in ../stuff/*.diff ; do
18 [ -f $(basename $i) ] && continue
19 patch -p1 < $i
20 touch $(basename $i)
21 done
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/boot/grub $fs/usr
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/sbin $fs/usr
34 cp -a $_pkg/usr/lib $fs/usr
36 # Permissions
37 chmod 755 $fs/usr/sbin/grub-*
38 chmod 655 $fs/usr/lib/grub/i386-pc/*
40 # Strip.
41 # Example config file (menu.lst).
42 cp stuff/example-menu.lst $fs/boot/grub
43 }