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

sipsak: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 21:34:10 2013 +0000 (2013-08-11)
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 }