mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-01 09:57:46 +00:00
22 lines
588 B
Makefile
22 lines
588 B
Makefile
package=hidapi
|
|
$(package)_version=0.14.0
|
|
$(package)_download_path=https://github.com/libusb/hidapi/archive/refs/tags
|
|
$(package)_file_name=$(package)-$($(package)_version).tar.gz
|
|
$(package)_sha256_hash=a5714234abe6e1f53647dd8cba7d69f65f71c558b7896ed218864ffcf405bcbd
|
|
$(package)_linux_dependencies=libusb eudev
|
|
|
|
define $(package)_set_vars
|
|
$(package)_config_opts+=-DBUILD_SHARED_LIBS=OFF
|
|
endef
|
|
|
|
define $(package)_config_cmds
|
|
$($(package)_cmake) .
|
|
endef
|
|
|
|
define $(package)_build_cmds
|
|
$(MAKE)
|
|
endef
|
|
|
|
define $(package)_stage_cmds
|
|
$(MAKE) DESTDIR=$($(package)_staging_dir) install
|
|
endef
|