wok-next annotate flashrom/receipt @ rev 20406
Continue: json-c, json-glib, keyutils, libarchive, libassuan, libatasmart, libatomic_ops, libblockdev, libbytesize, libcroco, libdaemon, libesmtp, libffi, libgcrypt, libgpg-error, libgsf, libgudev, libgusb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 08 02:55:48 2017 +0200 (2017-12-08) |
parents | 4aed2b24febc |
children | d5aab818505e |
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@15001 | 8 LICENSE="GPL2" |
pascal@13591 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@13591 | 10 WEB_SITE="http://flashrom.org/" |
pascal@13591 | 11 WGET_URL="http://download.flashrom.org/releases/$TARBALL" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="pciutils" |
pascal@13591 | 14 BUILD_DEPENDS="pciutils-dev zlib-dev libftdi-dev" |
pascal@13591 | 15 |
pascal@13591 | 16 # Rules to configure and make the package. |
pascal@13591 | 17 compile_rules() |
pascal@13591 | 18 { |
pascal@13591 | 19 cd $src |
pascal@13591 | 20 sed -i 's|/usr/local$|/usr|' Makefile |
pascal@13591 | 21 make && make DESTDIR=$DESTDIR install |
pascal@13591 | 22 } |
pascal@13591 | 23 |
pascal@13591 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 25 genpkg_rules() |
pascal@13591 | 26 { |
pascal@13591 | 27 mkdir -p $fs/usr |
pascal@13591 | 28 cp -a $install/usr/sbin $fs/usr |
pascal@13591 | 29 } |
pascal@13591 | 30 |