wok-6.x rev 22679

updated elilo (3.10 -> 3.16)
author Hans-G?nter Theisgen
date Sat Jan 18 17:16:20 2020 +0100 (2020-01-18)
parents 2a588e4793bc
children f18534b5699c
files elilo/receipt
line diff
     1.1 --- a/elilo/receipt	Sat Jan 18 16:22:42 2020 +0100
     1.2 +++ b/elilo/receipt	Sat Jan 18 17:16:20 2020 +0100
     1.3 @@ -1,14 +1,16 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="elilo"
     1.7 -VERSION="3.10"
     1.8 +VERSION="3.16"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="The EFI linux boot loader."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 -WEB_SITE="http://elilo.sourceforge.net/"
    1.15 +WEB_SITE="https://sourceforge.net/projects/elilo/"
    1.16 +
    1.17 +TARBALL="$PACKAGE-$VERSION-all.tar.gz"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19 +
    1.20  BUILD_DEPENDS="gnu-efi"
    1.21  # See http://mactel-linux.sourceforge.net/wiki/Main_Page
    1.22  #     genisoimage -boot-hfs-file
    1.23 @@ -16,19 +18,27 @@
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	mkdir -p $install/boot/efi/boot $install/usr/sbin $install/usr/share
    1.28 -	cp -a docs $install/usr/share/doc
    1.29 -	cp README* $install/usr/share/doc
    1.30 -	rm -rf $install/usr/share/doc/CVS
    1.31 -	sed -i 's|uname -m|echo i686|' Make.defaults
    1.32 -	make -j1 &&
    1.33 -	cp elilo.efi $install/boot/efi/boot/elilo &&
    1.34 -	cp tools/eliloalt $install/usr/sbin
    1.35 +	mkdir -p $install/boot/efi/boot
    1.36 +	mkdir -p $install/usr/sbin
    1.37 +	mkdir -p $install/usr/share
    1.38 +
    1.39 +	tar -xz -f $PACKAGE-$VERSION-source.tar.gz &&
    1.40 +	cd	$PACKAGE-$VERSION-source &&
    1.41 +	cp -a docs		$install/usr/share/doc
    1.42 +	cp README*		$install/usr/share/doc
    1.43 +#	rm -rf			$install/usr/share/doc/CVS
    1.44 +	sed -i 's|uname -m|echo i686|' \
    1.45 +		Make.defaults
    1.46 +	make ARCH=ia32 &&
    1.47 +	cp elilo.efi		$install/boot/efi/boot/elilo &&
    1.48 +	cp tools/eliloalt	$install/usr/sbin
    1.49  }
    1.50  
    1.51  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.52  genpkg_rules()
    1.53  {
    1.54 -	cp -a $install/usr/sbin $fs/usr
    1.55 -	cp -a $install/boot $fs
    1.56 +	mkdir -p $fs/usr/sbin
    1.57 +
    1.58 +	cp -a $install/boot	$fs
    1.59 +	cp -a $install/usr/sbin	$fs/usr
    1.60  }