wok-next view grub/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | c2b2f2268068 |
children | d958fec46c9f |
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 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \
20 util/grub-install.in
21 ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \
22 --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/boot/grub $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/lib $fs/usr
35 # Permissions
36 chmod 755 $fs/usr/sbin/grub-*
37 chmod 655 $fs/usr/lib/grub/*/*
39 # Strip.
40 # Example config file (menu.lst).
41 cp $stuff/example-menu.lst $fs/boot/grub
42 cp $stuff/splash.xpm.gz $fs/boot/grub
43 }