Changeset View
Changeset View
Standalone View
Standalone View
depends/packages/native_cdrkit.mk
package=native_cdrkit | package=native_cdrkit | ||||
$(package)_version=1.1.11 | $(package)_version=1.1.11 | ||||
$(package)_download_path=https://distro.ibiblio.org/fatdog/source/600/c | $(package)_download_path=https://distro.ibiblio.org/fatdog/source/600/c | ||||
$(package)_file_name=cdrkit-$($(package)_version).tar.bz2 | $(package)_file_name=cdrkit-$($(package)_version).tar.bz2 | ||||
$(package)_sha256_hash=b50d64c214a65b1a79afe3a964c691931a4233e2ba605d793eb85d0ac3652564 | $(package)_sha256_hash=b50d64c214a65b1a79afe3a964c691931a4233e2ba605d793eb85d0ac3652564 | ||||
$(package)_patches=cdrkit-deterministic.patch | $(package)_patches=cdrkit-deterministic.patch | ||||
define $(package)_preprocess_cmds | define $(package)_preprocess_cmds | ||||
patch -p1 < $($(package)_patch_dir)/cdrkit-deterministic.patch | patch -p1 < $($(package)_patch_dir)/cdrkit-deterministic.patch | ||||
endef | endef | ||||
# Starting with 10.1, GCC defaults to -fno-common, resulting in linking errors. | |||||
# Pass -fcommon to retain the legacy behaviour. | |||||
define $(package)_config_cmds | define $(package)_config_cmds | ||||
cmake -GNinja -DCMAKE_INSTALL_PREFIX=$(build_prefix) | cmake -GNinja -DCMAKE_INSTALL_PREFIX=$(build_prefix) -DCMAKE_C_FLAGS="-fcommon" | ||||
endef | endef | ||||
define $(package)_build_cmds | define $(package)_build_cmds | ||||
ninja -j$(JOBS) genisoimage | ninja -j$(JOBS) genisoimage | ||||
endef | endef | ||||
# Older versions of cmake do not generate install target properly, but we | # 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 | # need to support them because that's what is in xenial and we use xenial | ||||
Show All 9 Lines |