wok-next view grub/receipt @ rev 1954

nscd: add /usr/bin/getent
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Dec 30 14:40:42 2008 +0000 (2008-12-30)
parents cf22fee17710
children dbf873bf74a8
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 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/boot/grub $fs/usr
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/sbin $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
31 # Permissions
32 chmod 755 $fs/usr/sbin/grub-*
33 chmod 655 $fs/usr/lib/grub/i386-pc/*
35 # Strip.
36 strip -s $fs/usr/bin/*
37 strip -s $fs/usr/sbin/grub
38 # Example config file (menu.lst).
39 cp stuff/example-menu.lst $fs/boot/grub
40 }