wok-next view flashrom/receipt @ rev 13781

Up libdrm (2.4.40)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jan 04 09:46:14 2013 +0100 (2013-01-04)
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 }