wok-next view flashrom/receipt @ rev 13737

xscavenger, xdigger: add menu entry
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 26 11:05:26 2012 +0100 (2012-12-26)
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 }