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

upx: add doc links
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 11 15:06:50 2016 +0100 (2016-12-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 }