############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = dwz version = 0.15 release = 1 groups = Development/Tools url = https://sourceware.org/dwz/ license = GPLv2+ and GPLv3+ summary = DWARF optimization and duplicate removal tool description The dwz package contains a program that attempts to optimize DWARF debugging information contained in ELF shared libraries and ELF executables for size, by replacing DWARF information representation with equivalent smaller representation where possible and by reducing the amount of duplication using techniques from DWARF standard appendix E - creating DW_TAG_partial_unit compilation units (CUs) for duplicated information and using DW_TAG_imported_unit to import it into each CU that needs it. end source_dl = https://sourceware.org/ftp/dwz/releases/ sources = %{thisapp}.tar.xz build requires elfutils-devel xxhash-devel # Testsuite dejagnu gdb end DIR_APP = %{DIR_SRC}/%{name} make_build_targets += \ CFLAGS="%{CFLAGS}" \ LDFLAGS="%{LDFLAGS}" \ srcdir=%{DIR_APP} \ prefix=%{prefix} \ bindir=%{bindir} \ mandir=%{mandir} test # Compile the testsuite without any compiler or linker flags. CFLAGS= LDFLAGS= srcdir=%{DIR_APP} make check end make_install_targets += \ srcdir=%{DIR_APP} \ prefix=%{prefix} \ bindir=%{bindir} \ mandir=%{mandir} end packages package %{name} package %{name}-debuginfo template DEBUGINFO end end