wok rev 20924

updated flashrom (0.9.6.1 -> 1.0)
author Hans-G?nter Theisgen
date Sat Mar 02 09:50:24 2019 +0100 (2019-03-02)
parents 0ea8a0a406fc
children f445044dc215
files flashrom/receipt
line diff
     1.1 --- a/flashrom/receipt	Fri Mar 01 17:51:41 2019 +0100
     1.2 +++ b/flashrom/receipt	Sat Mar 02 09:50:24 2019 +0100
     1.3 @@ -1,24 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="flashrom"
     1.7 -VERSION="0.9.6.1"
     1.8 +VERSION="1.0"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="tility Identify, read, write, verify and erase flash chips."
    1.11 +SHORT_DESC="Utility for reading, writing, erasing and verifying flash ROM chips."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://flashrom.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://flashrom.org/"
    1.18 -WGET_URL="http://download.flashrom.org/releases/$TARBALL"
    1.19 +WGET_URL="https://download.flashrom.org/releases/$TARBALL"
    1.20  
    1.21  DEPENDS="pciutils"
    1.22 -BUILD_DEPENDS="pciutils-dev zlib-dev libftdi-dev"
    1.23 +BUILD_DEPENDS="libftdi-dev libusb-dev pciutils-dev zlib-dev"
    1.24 +HOST_ARCH="i486"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	sed -i 's|uname -m|echo i486|' Makefile
    1.30 -	sed -i 's|/usr/local$|/usr|' Makefile
    1.31 -	make && make DESTDIR=$DESTDIR install
    1.32 +	make -j 1 PREFIX=/usr &&
    1.33 +	make PREFIX=/usr DESTDIR=$DESTDIR install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 @@ -27,4 +29,3 @@
    1.38  	mkdir -p $fs/usr
    1.39  	cp -a $install/usr/sbin $fs/usr
    1.40  }
    1.41 -