wok annotate flashrom/receipt @ rev 22303

updated xorgxrdp (0.2.4 -> 0.2.11)
author Hans-G?nter Theisgen
date Wed Nov 13 17:23:06 2019 +0100 (2019-11-13)
parents fe96d104d02e
children 66f05dc997b2
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@21421 21 sed -i 's|.*libusb_set_debug.*\( 3.*\)|#if LIBUSB_API_VERSION >= 0x01000106\
pascal@21419 22 libusb_set_option(NULL, LIBUSB_OPTION_LOG_LEVEL,\1\n#else\n&\n#endif|' \
pascal@21413 23 ch341a_spi.c
pascal@20212 24 sed -i 's|uname -m|echo i486|' Makefile
Hans-G?nter@20924 25 make -j 1 PREFIX=/usr &&
Hans-G?nter@20924 26 make PREFIX=/usr DESTDIR=$DESTDIR install
pascal@13591 27 }
pascal@13591 28
pascal@13591 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 30 genpkg_rules()
pascal@13591 31 {
pascal@13591 32 mkdir -p $fs/usr
pascal@13591 33 cp -a $install/usr/sbin $fs/usr
pascal@13591 34 }