| 1 | package=eudev |
| 2 | $(package)_version=v3.2.6 |
| 3 | $(package)_download_path=https://github.com/gentoo/eudev/archive/ |
| 4 | $(package)_download_file=$($(package)_version).tar.gz |
| 5 | $(package)_file_name=$(package)-$($(package)_version).tar.gz |
| 6 | $(package)_sha256_hash=a96ecb8637667897b8bd4dee4c22c7c5f08b327be45186e912ce6bc768385852 |
| 7 | |
| 8 | define $(package)_set_vars |
| 9 | $(package)_config_opts=--disable-gudev --disable-introspection --disable-hwdb --disable-manpages --disable-shared |
| 10 | endef |
| 11 | |
| 12 | define $(package)_config_cmds |
| 13 | $($(package)_autoconf) AR_FLAGS=$($(package)_arflags) |
| 14 | endef |
| 15 | |
| 16 | define $(package)_build_cmd |
| 17 | $(MAKE) |
| 18 | endef |
| 19 | |
| 20 | define $(package)_preprocess_cmds |
| 21 | cd $($(package)_build_subdir); autoreconf -f -i |
| 22 | endef |
| 23 | |
| 24 | define $(package)_stage_cmds |
| 25 | $(MAKE) DESTDIR=$($(package)_staging_dir) install |
| 26 | endef |
| 27 | |
| 28 | define $(package)_postprocess_cmds |
| 29 | rm lib/*.la |
| 30 | endef |