wok-next rev 21658

updated flashrom (0.9.6.1 -> 1.2)
author Hans-G?nter Theisgen
date Sat Jun 27 10:24:22 2020 +0100 (2020-06-27)
parents a1f632381ccf
children fcaec0365357
files flashrom/receipt
line diff
     1.1 --- a/flashrom/receipt	Sat Jun 27 10:17:52 2020 +0100
     1.2 +++ b/flashrom/receipt	Sat Jun 27 10:24:22 2020 +0100
     1.3 @@ -1,26 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="flashrom"
     1.7 -VERSION="0.9.6.1"
     1.8 +VERSION="1.2"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Identify, read, write, verify and erase flash chips"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13  WEB_SITE="https://flashrom.org/Flashrom"
    1.14  
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16 -WGET_URL="http://download.flashrom.org/releases/$TARBALL"
    1.17 +TARBALL="$PACKAGE-v$VERSION.tar.bz2"
    1.18 +WGET_URL="https://download.flashrom.org/releases/$TARBALL"
    1.19  
    1.20 -BUILD_DEPENDS="pciutils-dev zlib-dev libftdi-dev"
    1.21 +BUILD_DEPENDS="libftdi-dev libusb-dev pciutils-dev zlib-dev"
    1.22  
    1.23 -compile_rules() {
    1.24 +compile_rules()
    1.25 +{
    1.26  	sed -i 's|/usr/local$|/usr|' Makefile
    1.27  
    1.28  	make &&
    1.29  	make DESTDIR=$install install
    1.30  }
    1.31  
    1.32 -genpkg_rules() {
    1.33 +genpkg_rules()
    1.34 +{
    1.35  	mkdir -p $fs/usr
    1.36  	cp -a $install/usr/sbin $fs/usr
    1.37  	DEPENDS="pciutils"