wok-6.x rev 22761

updated flashrom (1.0 -> 1.1)
author Hans-G?nter Theisgen
date Fri Jan 24 17:19:33 2020 +0100 (2020-01-24)
parents 3385f0b3d5af
children a4f6d204741c
files flashrom/receipt
line diff
     1.1 --- a/flashrom/receipt	Fri Jan 24 17:10:12 2020 +0100
     1.2 +++ b/flashrom/receipt	Fri Jan 24 17:19:33 2020 +0100
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="flashrom"
     1.7 -VERSION="1.0"
     1.8 +VERSION="1.1"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Utility for reading, writing, erasing and verifying flash ROM chips."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://flashrom.org/"
    1.14 +WEB_SITE="https://flashrom.org/Flashrom"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="https://download.flashrom.org/releases/$TARBALL"
    1.18  
    1.19  DEPENDS="pciutils"
    1.20  BUILD_DEPENDS="libftdi-dev libusb-dev pciutils-dev zlib-dev"
    1.21 +
    1.22  HOST_ARCH="i486"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25 @@ -21,7 +22,9 @@
    1.26  	sed -i 's|.*libusb_set_debug.*\( 3.*\)|#if LIBUSB_API_VERSION >= 0x01000106\
    1.27  	libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL,\1\n#else\n&\n#endif|' \
    1.28  		ch341a_spi.c
    1.29 -	sed -i 's|uname -m|echo i486|' Makefile
    1.30 +	sed -i 's|uname -m|echo i486|' \
    1.31 +		Makefile
    1.32 +
    1.33  	make -j 1 PREFIX=/usr &&
    1.34  	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.35  }
    1.36 @@ -30,5 +33,5 @@
    1.37  genpkg_rules()
    1.38  {
    1.39  	mkdir -p $fs/usr
    1.40 -	cp -a $install/usr/sbin $fs/usr
    1.41 +	cp -a $install/usr/sbin	$fs/usr
    1.42  }