############################################################################### # IPFire.org - An Open Source Firewall Solution # # Copyright (C) - IPFire Development Team # ############################################################################### name = binutils version = 2.23.52.0.1 release = 1 maintainer = Michael Tremer groups = Development/Tools url = http://www.gnu.org/software/binutils/ license = GPLv2+ summary = The GNU Binutils are a collection of binary tools. description The GNU Binary Utilities, or binutils, is a collection of programming tools for the manipulation of object code in various object file formats. end source_dl http://ftp.gnu.org/gnu/binutils/ ftp://ftp.kernel.org/pub/linux/devel/binutils end build requires bison dejagnu flex gcc-c++ pakfire-builder >= 0.9.23-5 texinfo zlib-devel end prepare_cmds mkdir -pv %{DIR_SRC}/binutils-build # Suppress the installation of an outdated standards.info file as a newer # one is installed later on in the Autoconf instructions: rm -fv etc/standards.info sed -e '/^INFO/s/standards.info //' -i etc/Makefile.in sed -i -e 's/%''{release}/%{release}/g' bfd/Makefile{.am,.in} end configure_options += \ --build=%{DISTRO_BUILDTARGET} \ --host=%{DISTRO_BUILDTARGET} \ --target=%{DISTRO_BUILDTARGET} \ --disable-werror \ --disable-static \ --enable-64-bit-bfd \ --enable-plugins \ --with-bugurl="http://bugzilla.ipfire.org/" build cd %{DIR_SRC}/binutils-build ../%{thisapp}/configure \ %{configure_options} make tooldir=/usr %{PARALLELISMFLAGS} end test cd %{DIR_SRC}/binutils-build make -k check