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