wok annotate flashrom/receipt @ rev 17212
cyrus-imapd: enable murder
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 10 15:22:16 2014 +0200 (2014-10-10) |
parents | 4aed2b24febc |
children | 3705d68ed8f3 |
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 |