wok-next view flashrom/receipt @ 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 d5aab818505e
children fcaec0365357
line source
1 # SliTaz package receipt.
3 PACKAGE="flashrom"
4 VERSION="1.2"
5 CATEGORY="misc"
6 SHORT_DESC="Identify, read, write, verify and erase flash chips"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://flashrom.org/Flashrom"
11 TARBALL="$PACKAGE-v$VERSION.tar.bz2"
12 WGET_URL="https://download.flashrom.org/releases/$TARBALL"
14 BUILD_DEPENDS="libftdi-dev libusb-dev pciutils-dev zlib-dev"
16 compile_rules()
17 {
18 sed -i 's|/usr/local$|/usr|' Makefile
20 make &&
21 make DESTDIR=$install install
22 }
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/sbin $fs/usr
28 DEPENDS="pciutils"
29 }