wok view grub/receipt @ rev 23833
updated picard (1.4.0.5 -> 2.3.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 01 07:18:17 2020 +0100 (2020-06-01) |
parents | 8efe208e0c37 |
children | 17091bc7c301 |
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 for i in $stuff/*.diff ; do
20 [ -f $(basename $i) ] && continue
21 patch -p1 < $i
22 touch $(basename $i)
23 done
24 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \
25 util/grub-install.in
26 ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \
27 --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/boot/grub $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/sbin $fs/usr
38 cp -a $install/usr/lib $fs/usr
40 # Permissions
41 chmod 755 $fs/usr/sbin/grub-*
42 chmod 655 $fs/usr/lib/grub/*/*
44 # Strip.
45 # Example config file (menu.lst).
46 cp $stuff/example-menu.lst $fs/boot/grub
47 }