wok-next view grub/receipt @ rev 21445
updated scim (1.4.17 -> 1.4.18)
author | Hans-G?nter Theisgen |
---|---|
date | Tue May 05 16:55:11 2020 +0100 (2020-05-05) |
parents | d5aab818505e |
children |
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="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://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 {
20 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \
21 util/grub-install.in
23 ./configure \
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 {
35 mkdir -p $fs/boot/grub
36 mkdir -p $fs/usr
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/usr/lib $fs/usr
42 # Permissions
43 chmod 755 $fs/usr/sbin/grub-*
44 chmod 655 $fs/usr/lib/grub/*/*
46 # Example configuration file (menu.lst).
47 cp $stuff/example-menu.lst $fs/boot/grub
48 cp $stuff/splash.xpm.gz $fs/boot/grub
49 }