wok-next view grub/receipt @ rev 20900

gdk-pixbuf: build man pages; glib-networking: up (2.56.1); glibmm: up (2.56.0); gnupg: up (2.2.9); gsettings-desktop-schemas: up (3.28.0); tint2: up (16.4).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jul 21 17:03:50 2018 +0300 (2018-07-21)
parents d6378d455338
children d5aab818505e
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 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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \
22 util/grub-install.in
23 ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \
24 --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/boot/grub $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib $fs/usr
37 # Permissions
38 chmod 755 $fs/usr/sbin/grub-*
39 chmod 655 $fs/usr/lib/grub/*/*
41 # Strip.
42 # Example config file (menu.lst).
43 cp $stuff/example-menu.lst $fs/boot/grub
44 cp $stuff/splash.xpm.gz $fs/boot/grub
45 }