wok-next view grub/receipt @ rev 11990
get-softmodem-driver: broken and superseded by linmodem-* packages, move to wok-undigest
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Mar 03 20:27:38 2012 +0100 (2012-03-03) |
parents | 02bbaa9d12ba |
children | a7288c2607d3 |
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 }