wok-next view flashrom/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | 408c87fa22ca |
children | 99e53c79f216 |
line source
1 # SliTaz package receipt.
3 PACKAGE="flashrom"
4 VERSION="0.9.6.1"
5 CATEGORY="misc"
6 SHORT_DESC="Identify, read, write, verify and erase flash chips"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://flashrom.org/Flashrom"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.flashrom.org/releases/$TARBALL"
14 BUILD_DEPENDS="pciutils-dev zlib-dev libftdi-dev"
16 compile_rules() {
17 sed -i 's|/usr/local$|/usr|' Makefile
19 make &&
20 make DESTDIR=$install install
21 }
23 genpkg_rules() {
24 mkdir -p $fs/usr
25 cp -a $install/usr/sbin $fs/usr
26 DEPENDS="pciutils"
27 }