| 1 | package=native_cdrkit |
| 2 | $(package)_version=1.1.11 |
| 3 | $(package)_download_path=https://distro.ibiblio.org/fatdog/source/600/c |
| 4 | $(package)_file_name=cdrkit-$($(package)_version).tar.bz2 |
| 5 | $(package)_sha256_hash=b50d64c214a65b1a79afe3a964c691931a4233e2ba605d793eb85d0ac3652564 |
| 6 | $(package)_patches=cdrkit-deterministic.patch |
| 7 | |
| 8 | define $(package)_preprocess_cmds |
| 9 | patch -p1 < $($(package)_patch_dir)/cdrkit-deterministic.patch |
| 10 | endef |
| 11 | |
| 12 | define $(package)_config_cmds |
| 13 | cmake -DCMAKE_INSTALL_PREFIX=$(build_prefix) |
| 14 | endef |
| 15 | |
| 16 | define $(package)_build_cmds |
| 17 | $(MAKE) genisoimage |
| 18 | endef |
| 19 | |
| 20 | define $(package)_stage_cmds |
| 21 | $(MAKE) DESTDIR=$($(package)_staging_dir) -C genisoimage install |
| 22 | endef |
| 23 | |
| 24 | define $(package)_postprocess_cmds |
| 25 | rm bin/isovfy bin/isoinfo bin/isodump bin/isodebug bin/devdump |
| 26 | endef |