wok-current view grub/receipt @ rev 1303
Typo in claws-mail receipt
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Sat Aug 23 20:56:35 2008 +0200 (2008-08-23) |
parents | cdac43c3f44f |
children | eea0bde9b32e |
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/boot/grub $fs/usr
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/lib $fs/usr
30 # Permissions
31 chmod 755 $fs/usr/sbin/grub-*
32 chmod 655 $fs/usr/lib/grub/i386-pc/*
34 # Strip.
35 strip -s $fs/usr/bin/*
36 strip -s $fs/usr/sbin/grub
37 # Example config file (menu.lst).
38 cp stuff/example-menu.lst $fs/boot/grub
39 }