wok diff grub2/receipt @ rev 22767

updated foomatic-filters (4.0.5 -> 4.0.17)
author Hans-G?nter Theisgen
date Sat Jan 25 14:46:57 2020 +0100 (2020-01-25)
parents cc07895be981
children 70ff687a5c7f
line diff
     1.1 --- a/grub2/receipt	Sat Aug 17 16:23:26 2019 +0200
     1.2 +++ b/grub2/receipt	Sat Jan 25 14:46:57 2020 +0100
     1.3 @@ -1,26 +1,31 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="grub2"
     1.7 -SOURCE="grub"
     1.8 -VERSION="2.02"
     1.9 +VERSION="2.04"
    1.10  CATEGORY="base-system"
    1.11  SHORT_DESC="GRUB2 boot loader."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 +WEB_SITE="https://www.gnu.org/software/grub/"
    1.15 +
    1.16 +SOURCE="grub"
    1.17  TARBALL="$SOURCE-$VERSION.tar.xz"
    1.18 -WEB_SITE="http://www.gnu.org/software/grub/"
    1.19  WGET_URL="ftp://ftp.gnu.org/gnu/grub/$TARBALL"
    1.20  
    1.21 -DEPENDS="zlib freetype ncurses libusb-compat grep libusb libdevmapper"
    1.22 -BUILD_DEPENDS="flex bison zlib-dev xz-dev freetype-dev ncurses-dev fuse-dev \
    1.23 -libusb-compat-dev libusb-dev libdevmapper-dev"
    1.24 +DEPENDS="freetype grep libdevmapper libusb libusb-compat ncurses zlib"
    1.25 +BUILD_DEPENDS="bison flex freetype-dev fuse-dev libdevmapper-dev 
    1.26 +	libusb-compat-dev libusb-dev ncurses-dev xz-dev zlib-dev"
    1.27  
    1.28  # Rules to configure and make the package.
    1.29  compile_rules()
    1.30  {
    1.31 -	sed -i 's|fprintf(...) |&(void)|' grub-core/script/yylex.l
    1.32 -	./configure --prefix=/usr --sysconfdir=/etc \
    1.33 -	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.34 +	sed -i 's|fprintf(...) |&(void)|' \
    1.35 +		grub-core/script/yylex.l
    1.36 +	./configure			\
    1.37 +		--prefix=/usr		\
    1.38 +		--sysconfdir=/etc	\
    1.39 +		--mandir=/usr/share/man	\
    1.40 +		$CONFIGURE_ARGS &&
    1.41  	make $MAKEFLAGS &&
    1.42  	make DESTDIR=$DESTDIR install
    1.43  }
    1.44 @@ -28,21 +33,23 @@
    1.45  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.46  genpkg_rules()
    1.47  {
    1.48 -	mkdir -p $fs/boot/grub $fs/usr
    1.49 -	cp -a $install/usr/bin $fs/usr
    1.50 -	cp -a $install/usr/sbin $fs/usr
    1.51 -	cp -a $install/usr/share $fs/usr
    1.52 -	cp -a $install/usr/lib $fs/usr
    1.53 -	cp -a $install/etc $fs
    1.54 +	mkdir -p $fs/boot/grub
    1.55 +	mkdir -p $fs/usr
    1.56 +
    1.57 +	cp -a $install/usr/bin		$fs/usr
    1.58 +	cp -a $install/usr/sbin		$fs/usr
    1.59 +	cp -a $install/usr/share	$fs/usr
    1.60 +	cp -a $install/usr/lib		$fs/usr
    1.61 +	cp -a $install/etc		$fs
    1.62  	
    1.63 -	# Example config file (grub.cfg).
    1.64 -	cp stuff/example-grub.cfg $fs/boot/grub
    1.65 +	# Example configuration file (grub.cfg).
    1.66 +	cp stuff/example-grub.cfg	$fs/boot/grub
    1.67  }
    1.68  
    1.69  post_install()
    1.70  {
    1.71  	cat <<EOT
    1.72 -# To install grub to your sda MBR
    1.73 +# To install grub to MBR on device sda
    1.74  grub-install /dev/sda
    1.75  
    1.76  # To generate a configuration file
    1.77 @@ -51,4 +58,3 @@
    1.78  # You can learn from /boot/grub/example-grub.cfg too.
    1.79  EOT
    1.80  }
    1.81 -