wok-6.x view flashrom/receipt @ rev 21232

updated libhtp and libhtp-dev (0.2.6 -> 0.5.30)
author Hans-G?nter Theisgen
date Thu Apr 11 13:28:24 2019 +0100 (2019-04-11)
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 }