Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/native_cdrkit.mk
Show All 11 Lines | |||||
define $(package)_config_cmds | define $(package)_config_cmds | ||||
cmake -GNinja -DCMAKE_INSTALL_PREFIX=$(build_prefix) | cmake -GNinja -DCMAKE_INSTALL_PREFIX=$(build_prefix) | ||||
endef | endef | ||||
define $(package)_build_cmds | define $(package)_build_cmds | ||||
ninja genisoimage | ninja genisoimage | ||||
endef | endef | ||||
# Older versions of cmake do not generate install target properly, but we | |||||
# need to support them because that's what is in xenial and we use xenial | |||||
# for reproducible builds. So we just fallback on installing everything. | |||||
define $(package)_stage_cmds | define $(package)_stage_cmds | ||||
DESTDIR=$($(package)_staging_dir) ninja genisoimage/install | DESTDIR=$($(package)_staging_dir) ninja genisoimage/install || \ | ||||
DESTDIR=$($(package)_staging_dir) ninja install | |||||
endef | endef | ||||
define $(package)_postprocess_cmds | define $(package)_postprocess_cmds | ||||
rm bin/isovfy bin/isoinfo bin/isodump bin/isodebug bin/devdump | rm bin/isovfy bin/isoinfo bin/isodump bin/isodebug bin/devdump | ||||
endef | endef |