wok-next diff grub/receipt @ rev 21276
try to build gens-gs again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:51:18 2019 +0100 (2019-12-07) |
parents | d958fec46c9f |
children | 550bb39b2d82 |
line diff
1.1 --- a/grub/receipt Tue Jul 10 20:08:05 2018 +0300 1.2 +++ b/grub/receipt Sat Dec 07 15:51:18 2019 +0100 1.3 @@ -1,10 +1,10 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="grub" 1.8 VERSION="0.97" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="GRUB boot loader." 1.11 -MAINTAINER="pankso@slitaz.org" 1.12 +SHORT_DESC="GRUB boot loader" 1.13 +MAINTAINER="devel@slitaz.org" 1.14 LICENSE="GPL2" 1.15 WEB_SITE="http://www.gnu.org/software/grub/" 1.16 REPOLOGY="grub-legacy" 1.17 @@ -15,32 +15,32 @@ 1.18 1.19 BUILD_DEPENDS="gcc3" 1.20 1.21 -# Rules to configure and make the package. 1.22 -compile_rules() 1.23 -{ 1.24 +compile_rules() { 1.25 sed -i 's/\[ .grub-probe.*\]/mount | grep $grubdir | grep -q xfs/' \ 1.26 util/grub-install.in 1.27 - ./configure CC=gcc-3 --prefix=/usr --infodir=/usr/share/info \ 1.28 - --without-curses --mandir=/usr/share/man $CONFIGURE_ARGS && 1.29 + 1.30 + ./configure \ 1.31 + CC=gcc-3 \ 1.32 + --prefix=/usr \ 1.33 + --infodir=/usr/share/info \ 1.34 + --without-curses \ 1.35 + --mandir=/usr/share/man \ 1.36 + $CONFIGURE_ARGS && 1.37 make && 1.38 - make DESTDIR=$DESTDIR install 1.39 + make DESTDIR=$install install 1.40 } 1.41 1.42 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.43 -genpkg_rules() 1.44 -{ 1.45 +genpkg_rules() { 1.46 mkdir -p $fs/boot/grub $fs/usr 1.47 cp -a $install/usr/bin $fs/usr 1.48 cp -a $install/usr/sbin $fs/usr 1.49 cp -a $install/usr/lib $fs/usr 1.50 - 1.51 + 1.52 # Permissions 1.53 chmod 755 $fs/usr/sbin/grub-* 1.54 chmod 655 $fs/usr/lib/grub/*/* 1.55 - 1.56 - # Strip. 1.57 + 1.58 # Example config file (menu.lst). 1.59 cp $stuff/example-menu.lst $fs/boot/grub 1.60 cp $stuff/splash.xpm.gz $fs/boot/grub 1.61 } 1.62 -