wok-current annotate flashrom/receipt @ rev 20720
updated aqualung (0.9beta10 -> 1.02)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 08 15:11:05 2019 +0100 (2019-02-08) |
parents | 408c87fa22ca |
children | 21f24cc30137 |
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@20212 | 19 sed -i 's|uname -m|echo i486|' Makefile |
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 |