wok-6.x view flashrom/receipt @ rev 13801

Up: xterm (287)
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 06 04:41:49 2013 +0300 (2013-01-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 }