wok view flashrom/receipt @ rev 17723
zonecheck: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 05 18:20:41 2015 +0100 (2015-03-05) |
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 }