wok view grub/receipt @ rev 9561

Up: homebank to 4.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Apr 11 13:33:54 2011 +0000 (2011-04-11)
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 }