wok annotate flashrom/receipt @ rev 13971

desktop-file-utils*: up (0.21)
author ernia <monghitri@aruba.it>
date Mon Feb 04 12:44:22 2013 +0000 (2013-02-04)
parents
children 408c87fa22ca
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="flashrom"
pascal@13591 4 VERSION="0.9.6.1"
pascal@13591 5 CATEGORY="misc"
pascal@13591 6 SHORT_DESC="tility Identify, read, write, verify and erase flash chips."
pascal@13591 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13591 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13591 9 WEB_SITE="http://flashrom.org/"
pascal@13591 10 WGET_URL="http://download.flashrom.org/releases/$TARBALL"
pascal@13591 11
pascal@13591 12 DEPENDS="pciutils"
pascal@13591 13 BUILD_DEPENDS="pciutils-dev zlib-dev libftdi-dev"
pascal@13591 14
pascal@13591 15 # Rules to configure and make the package.
pascal@13591 16 compile_rules()
pascal@13591 17 {
pascal@13591 18 cd $src
pascal@13591 19 sed -i 's|/usr/local$|/usr|' Makefile
pascal@13591 20 make && make DESTDIR=$DESTDIR install
pascal@13591 21 }
pascal@13591 22
pascal@13591 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 24 genpkg_rules()
pascal@13591 25 {
pascal@13591 26 mkdir -p $fs/usr
pascal@13591 27 cp -a $install/usr/sbin $fs/usr
pascal@13591 28 }
pascal@13591 29