wok-6.x annotate flashrom/receipt @ rev 21024

gyrus: TARBALL modified
author Hans-G?nter Theisgen
date Sun Mar 10 16:14:31 2019 +0100 (2019-03-10)
parents 3705d68ed8f3
children 02f84d387161
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="flashrom"
Hans-G?nter@20924 4 VERSION="1.0"
pascal@13591 5 CATEGORY="misc"
Hans-G?nter@20924 6 SHORT_DESC="Utility for reading, writing, erasing and verifying flash ROM chips."
pascal@13591 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
Hans-G?nter@20924 9 WEB_SITE="http://flashrom.org/"
Hans-G?nter@20924 10
pascal@13591 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
Hans-G?nter@20924 12 WGET_URL="https://download.flashrom.org/releases/$TARBALL"
pascal@13591 13
pascal@13591 14 DEPENDS="pciutils"
Hans-G?nter@20924 15 BUILD_DEPENDS="libftdi-dev libusb-dev pciutils-dev zlib-dev"
Hans-G?nter@20924 16 HOST_ARCH="i486"
pascal@13591 17
pascal@13591 18 # Rules to configure and make the package.
pascal@13591 19 compile_rules()
pascal@13591 20 {
pascal@20212 21 sed -i 's|uname -m|echo i486|' Makefile
Hans-G?nter@20924 22 make -j 1 PREFIX=/usr &&
Hans-G?nter@20924 23 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@13591 24 }
pascal@13591 25
pascal@13591 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 27 genpkg_rules()
pascal@13591 28 {
pascal@13591 29 mkdir -p $fs/usr
pascal@13591 30 cp -a $install/usr/sbin $fs/usr
pascal@13591 31 }