wok-next view flashrom/receipt @ rev 14682
libelementary: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu Jun 06 22:09:08 2013 +0200 (2013-06-06) |
parents | |
children | 408c87fa22ca |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://flashrom.org/"
10 WGET_URL="http://download.flashrom.org/releases/$TARBALL"
12 DEPENDS="pciutils"
13 BUILD_DEPENDS="pciutils-dev zlib-dev libftdi-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's|/usr/local$|/usr|' Makefile
20 make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/usr/sbin $fs/usr
28 }