python3: update to 3.11.10
[openadk.git] / package / flashrom / Makefile
blobfc56a382885575ed8f9970695350e52ed2c56786
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
6 PKG_NAME:= flashrom
7 PKG_VERSION:= v1.2
8 PKG_RELEASE:= 1
9 PKG_HASH:= e1f8d95881f5a4365dfe58776ce821dfcee0f138f75d0f44f8a3cd032d9ea42b
10 PKG_DESCR:= utility for identifying, reading, writing, verifying and erasing flash chips.
11 PKG_SECTION:= sys/hw
12 PKG_DEPENDS:= pciutils libusb zlib
13 PKG_BUILDDEP:= pciutils libusb zlib
14 PKG_URL:= https://www.flashrom.org/Flashrom
15 PKG_SITES:= https://download.flashrom.org/releases/
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,FLASHROM,flashrom,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 CONFIG_STYLE:= manual
24 TARGET_CFLAGS+= -I$(STAGING_TARGET_DIR)/usr/include/libusb-1.0
26 flashrom-install:
27 ${INSTALL_DIR} ${IDIR_FLASHROM}/usr/sbin
28 ${INSTALL_BIN} ${WRKINST}/usr/local/sbin/flashrom ${IDIR_FLASHROM}/usr/sbin/
30 include ${ADK_TOPDIR}/mk/pkg-bottom.mk