wok view flashrom/receipt @ rev 19018
Up mirror-tools, qemu-box, slitaz-mercurial-style, tazchroot, tazdev, tazwikiss, yaff (253)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 10:49:53 2016 +0200 (2016-04-01) |
parents | 4aed2b24febc |
children | 3705d68ed8f3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="flashrom"
4 VERSION="0.9.6.1"
5 CATEGORY="misc"
6 SHORT_DESC="tility Identify, read, write, verify and erase flash chips."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://flashrom.org/"
11 WGET_URL="http://download.flashrom.org/releases/$TARBALL"
13 DEPENDS="pciutils"
14 BUILD_DEPENDS="pciutils-dev zlib-dev libftdi-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|/usr/local$|/usr|' Makefile
21 make && make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/sbin $fs/usr
29 }