From: Michael Tremer Date: Tue, 11 Apr 2017 12:05:53 +0000 (+0100) Subject: elfutils: New package X-Git-Tag: v2.19-core111~68 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=015640d67161b27e729e6bc31b32eb838afd5060 elfutils: New package Signed-off-by: Michael Tremer --- diff --git a/config/rootfiles/packages/elfutils b/config/rootfiles/packages/elfutils new file mode 100644 index 0000000000..abe00d772c --- /dev/null +++ b/config/rootfiles/packages/elfutils @@ -0,0 +1,80 @@ +usr/bin/eu-addr2line +usr/bin/eu-ar +usr/bin/eu-elfcmp +usr/bin/eu-elfcompress +usr/bin/eu-elflint +usr/bin/eu-findtextrel +usr/bin/eu-make-debug-archive +usr/bin/eu-nm +usr/bin/eu-objdump +usr/bin/eu-ranlib +usr/bin/eu-readelf +usr/bin/eu-size +usr/bin/eu-stack +usr/bin/eu-strings +usr/bin/eu-strip +usr/bin/eu-unstrip +#usr/include/dwarf.h +#usr/include/elfutils +#usr/include/elfutils/elf-knowledge.h +#usr/include/elfutils/known-dwarf.h +#usr/include/elfutils/libasm.h +#usr/include/elfutils/libdw.h +#usr/include/elfutils/libdwelf.h +#usr/include/elfutils/libdwfl.h +#usr/include/elfutils/libebl.h +#usr/include/elfutils/version.h +#usr/include/gelf.h +#usr/include/libelf.h +#usr/include/nlist.h +usr/lib/elfutils +#usr/lib/elfutils/libebl_aarch64-0.168.so +#usr/lib/elfutils/libebl_aarch64.so +#usr/lib/elfutils/libebl_alpha-0.168.so +#usr/lib/elfutils/libebl_alpha.so +#usr/lib/elfutils/libebl_arm-0.168.so +#usr/lib/elfutils/libebl_arm.so +#usr/lib/elfutils/libebl_bpf-0.168.so +#usr/lib/elfutils/libebl_bpf.so +#usr/lib/elfutils/libebl_i386-0.168.so +#usr/lib/elfutils/libebl_i386.so +#usr/lib/elfutils/libebl_ia64-0.168.so +#usr/lib/elfutils/libebl_ia64.so +#usr/lib/elfutils/libebl_m68k-0.168.so +#usr/lib/elfutils/libebl_m68k.so +#usr/lib/elfutils/libebl_ppc-0.168.so +#usr/lib/elfutils/libebl_ppc.so +#usr/lib/elfutils/libebl_ppc64-0.168.so +#usr/lib/elfutils/libebl_ppc64.so +#usr/lib/elfutils/libebl_s390-0.168.so +#usr/lib/elfutils/libebl_s390.so +#usr/lib/elfutils/libebl_sh-0.168.so +#usr/lib/elfutils/libebl_sh.so +#usr/lib/elfutils/libebl_sparc-0.168.so +#usr/lib/elfutils/libebl_sparc.so +#usr/lib/elfutils/libebl_tilegx-0.168.so +#usr/lib/elfutils/libebl_tilegx.so +#usr/lib/elfutils/libebl_x86_64-0.168.so +#usr/lib/elfutils/libebl_x86_64.so +#usr/lib/libasm-0.168.so +#usr/lib/libasm.a +usr/lib/libasm.so +usr/lib/libasm.so.1 +#usr/lib/libdw-0.168.so +#usr/lib/libdw.a +usr/lib/libdw.so +usr/lib/libdw.so.1 +#usr/lib/libebl.a +#usr/lib/libelf-0.168.so +#usr/lib/libelf.a +usr/lib/libelf.so +usr/lib/libelf.so.1 +#usr/lib/pkgconfig/libdw.pc +#usr/lib/pkgconfig/libelf.pc +#usr/share/locale/de/LC_MESSAGES/elfutils.mo +#usr/share/locale/en@boldquot/LC_MESSAGES/elfutils.mo +#usr/share/locale/en@quot/LC_MESSAGES/elfutils.mo +#usr/share/locale/es/LC_MESSAGES/elfutils.mo +#usr/share/locale/ja/LC_MESSAGES/elfutils.mo +#usr/share/locale/pl/LC_MESSAGES/elfutils.mo +#usr/share/locale/uk/LC_MESSAGES/elfutils.mo diff --git a/lfs/elfutils b/lfs/elfutils new file mode 100644 index 0000000000..69c0083c4e --- /dev/null +++ b/lfs/elfutils @@ -0,0 +1,84 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2013 IPFire Team # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include Config + +VER = 0.168 + +THISAPP = elfutils-$(VER) +DL_FILE = $(THISAPP).tar.bz2 +DL_FROM = $(URL_IPFIRE) +DIR_APP = $(DIR_SRC)/$(THISAPP) +TARGET = $(DIR_INFO)/$(THISAPP) +PROG = elfutils +PAK_VER = 1 + +DEPS = "" + +############################################################################### +# Top-level Rules +############################################################################### + +objects = $(DL_FILE) + +$(DL_FILE) = $(DL_FROM)/$(DL_FILE) + +$(DL_FILE)_MD5 = 52adfa40758d0d39e5d5c57689bf38d6 + +install : $(TARGET) + +check : $(patsubst %,$(DIR_CHK)/%,$(objects)) + +download :$(patsubst %,$(DIR_DL)/%,$(objects)) + +md5 : $(subst %,%_MD5,$(objects)) + +dist: + @$(PAK) + +############################################################################### +# Downloading, checking, md5sum +############################################################################### + +$(patsubst %,$(DIR_CHK)/%,$(objects)) : + @$(CHECK) + +$(patsubst %,$(DIR_DL)/%,$(objects)) : + @$(LOAD) + +$(subst %,%_MD5,$(objects)) : + @$(MD5) + +############################################################################### +# Installation Details +############################################################################### + +$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) + @$(PREBUILD) + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) + cd $(DIR_APP) && ./configure --prefix=/usr + cd $(DIR_APP) && make $(MAKETUNING) + cd $(DIR_APP) && make install + @rm -rf $(DIR_APP) + @$(POSTBUILD) diff --git a/make.sh b/make.sh index 183ee7d24d..585ae18f49 100755 --- a/make.sh +++ b/make.sh @@ -842,6 +842,7 @@ buildipfire() { ipfiremake sendEmail ipfiremake sysbench ipfiremake strace + ipfiremake elfutils ipfiremake ipfire-netboot ipfiremake lcdproc ipfiremake bitstream