wok-6.x view grub/receipt @ rev 20085
also update libssl: from: 1.0.2k [26 Jan 2017] to 1.0.2l [25 May 2017], see: http://hg.slitaz.org/wok/rev/90fcaa823068
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Sep 27 22:18:42 2017 +0000 (2017-09-27) |
parents | c2b2f2268068 |
children | 0c1ad897a405 |
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 cd $src
20 for i in $stuff/*.diff ; do
21 [ -f $(basename $i) ] && continue
22 patch -p1 < $i
23 touch $(basename $i)
24 done
25 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \
26 util/grub-install.in
27 ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \
28 --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/boot/grub $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/sbin $fs/usr
39 cp -a $install/usr/lib $fs/usr
41 # Permissions
42 chmod 755 $fs/usr/sbin/grub-*
43 chmod 655 $fs/usr/lib/grub/*/*
45 # Strip.
46 # Example config file (menu.lst).
47 cp $stuff/example-menu.lst $fs/boot/grub
48 }