wok-next view grub/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d958fec46c9f
children 550bb39b2d82
line source
1 # SliTaz package receipt v2.
3 PACKAGE="grub"
4 VERSION="0.97"
5 CATEGORY="base-system"
6 SHORT_DESC="GRUB boot loader"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.gnu.org/software/grub/"
10 REPOLOGY="grub-legacy"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="ftp://alpha.gnu.org/gnu/grub/$TARBALL"
14 CONFIG_FILES="/boot/grub"
16 BUILD_DEPENDS="gcc3"
18 compile_rules() {
19 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \
20 util/grub-install.in
22 ./configure \
23 CC=gcc-3 \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --without-curses \
27 --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$install install
31 }
33 genpkg_rules() {
34 mkdir -p $fs/boot/grub $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/sbin $fs/usr
37 cp -a $install/usr/lib $fs/usr
39 # Permissions
40 chmod 755 $fs/usr/sbin/grub-*
41 chmod 655 $fs/usr/lib/grub/*/*
43 # Example config file (menu.lst).
44 cp $stuff/example-menu.lst $fs/boot/grub
45 cp $stuff/splash.xpm.gz $fs/boot/grub
46 }