wok view grub/receipt @ rev 18168
syslinux: change some locales in the menu; update locale-* package set according to syslinux menu, add kbd (console keyboard) layouts.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jun 28 15:14:56 2015 +0300 (2015-06-28) |
parents | a7288c2607d3 |
children | c2b2f2268068 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/grub/"
11 WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL"
12 CONFIG_FILES="/boot/grub"
14 BUILD_DEPENDS="gcc3"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 for i in $stuff/*.diff ; do
21 [ -f $(basename $i) ] && continue
22 patch -p1 < $i
23 touch $(basename $i)
24 done
25 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \
26 util/grub-install.in
27 ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \
28 --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/boot/grub $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib $fs/usr
41 # Permissions
42 chmod 755 $fs/usr/sbin/grub-*
43 chmod 655 $fs/usr/lib/grub/*/*
45 # Strip.
46 # Example config file (menu.lst).
47 cp stuff/example-menu.lst $fs/boot/grub
48 }