aboutsummaryrefslogtreecommitdiff
path: root/contrib/depends/packages/eudev.mk
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-09-25 13:09:53 +0200
committerRiccardo Spagni <ric@spagni.net>2018-09-25 13:09:54 +0200
commit13d9bdb84908ba0bbe447160316748c0b6f0fdb7 (patch)
tree2cfd356e135954acae6050e6360c5eba78c3c787 /contrib/depends/packages/eudev.mk
parentMerge pull request #4412 (diff)
parentAdd hidapi to depends (diff)
downloadmonero-13d9bdb84908ba0bbe447160316748c0b6f0fdb7.tar.xz
Merge pull request #4431
5c234cbd Add hidapi to depends (TheCharlatan)
Diffstat (limited to 'contrib/depends/packages/eudev.mk')
-rw-r--r--contrib/depends/packages/eudev.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/contrib/depends/packages/eudev.mk b/contrib/depends/packages/eudev.mk
new file mode 100644
index 000000000..08752909f
--- /dev/null
+++ b/contrib/depends/packages/eudev.mk
@@ -0,0 +1,25 @@
+package=eudev
+$(package)_version=v3.2.6
+$(package)_download_path=https://github.com/gentoo/eudev/archive/
+$(package)_file_name=$($(package)_version).tar.gz
+$(package)_sha256_hash=a96ecb8637667897b8bd4dee4c22c7c5f08b327be45186e912ce6bc768385852
+
+define $(package)_set_vars
+ $(package)_config_opts=--disable-gudev --disable-introspection --disable-hwdb --disable-manpages
+endef
+
+define $(package)_config_cmds
+ $($(package)_autoconf)
+endef
+
+define $(package)_build_cmd
+ $(MAKE)
+endef
+
+define $(package)_preprocess_cmds
+ cd $($(package)_build_subdir); autoreconf -f -i
+endef
+
+define $(package)_stage_cmds
+ $(MAKE) DESTDIR=$($(package)_staging_dir) install
+endef