summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-09-03 10:40:17 +0000
committerTim Harder <radhermit@gentoo.org>2011-09-03 10:40:17 +0000
commitd71fcf3fab009638dab27e40d81d96ed41a62e41 (patch)
tree6ef694457ce12c46e2f9cb42be589a00d79e6f59 /dev-embedded/srecord
parentRespect imlib2 configuration option. Bug #381067. Patch is already in git repo (diff)
downloadgentoo-2-d71fcf3fab009638dab27e40d81d96ed41a62e41.tar.gz
gentoo-2-d71fcf3fab009638dab27e40d81d96ed41a62e41.tar.bz2
gentoo-2-d71fcf3fab009638dab27e40d81d96ed41a62e41.zip
Version bump (bug #344855). Add static-libs USE flag, update to EAPI 4, and fix parallel install issue.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'dev-embedded/srecord')
-rw-r--r--dev-embedded/srecord/ChangeLog12
-rw-r--r--dev-embedded/srecord/files/srecord-1.57-libtool.patch70
-rw-r--r--dev-embedded/srecord/files/srecord-1.57-parallel-install.patch382
-rw-r--r--dev-embedded/srecord/srecord-1.57.ebuild40
4 files changed, 502 insertions, 2 deletions
diff --git a/dev-embedded/srecord/ChangeLog b/dev-embedded/srecord/ChangeLog
index d98905578fd2..2d2bc3ddb297 100644
--- a/dev-embedded/srecord/ChangeLog
+++ b/dev-embedded/srecord/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-embedded/srecord
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/srecord/ChangeLog,v 1.9 2009/07/25 19:21:34 ssuominen Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/srecord/ChangeLog,v 1.10 2011/09/03 10:40:17 radhermit Exp $
+
+*srecord-1.57 (03 Sep 2011)
+
+ 03 Sep 2011; Tim Harder <radhermit@gentoo.org> +srecord-1.57.ebuild,
+ +files/srecord-1.57-libtool.patch,
+ +files/srecord-1.57-parallel-install.patch:
+ Version bump (bug #344855). Add static-libs USE flag, update to EAPI 4, and
+ fix parallel install issue.
25 Jul 2009; Samuli Suominen <ssuominen@gentoo.org> srecord-1.42.ebuild,
+files/srecord-1.42-gcc44.patch:
diff --git a/dev-embedded/srecord/files/srecord-1.57-libtool.patch b/dev-embedded/srecord/files/srecord-1.57-libtool.patch
new file mode 100644
index 000000000000..d1195726a3d2
--- /dev/null
+++ b/dev-embedded/srecord/files/srecord-1.57-libtool.patch
@@ -0,0 +1,70 @@
+--- srecord-1.57.orig/etc/configure.ac
++++ srecord-1.57/etc/configure.ac
+@@ -29,6 +29,10 @@
+ AC_CHECK_FUNCS(snprintf vsnprintf)
+ AC_CHECK_LIB(gcrypt, gcry_md_open)
+
++top_builddir=`pwd`
++AC_SUBST(top_builddir)
++LT_INIT
++
+ dnl
+ dnl Make sure Boost is installed.
+ dnl
+@@ -119,46 +123,6 @@
+ operating system has a libgcrypt that supports WHIRLPOOL.])
+ AC_MSG_RESULT(yes),AC_MSG_RESULT(no))dnl
+
+-dnl!
+-dnl! Now look for libtool.
+-dnl!
+-AC_CHECK_PROGS(LIBTOOL, libtool)
+-if test -z "$LIBTOOL"
+-then
+- AC_MSG_RESULT([
+- You must have GNU Libtool installed to build srecord.
+- Homepage: http://www.gnu.org/software/libtool/])
+- OK=no
+- if apt-get --version > /dev/null 2> /dev/null; then
+- AC_MSG_RESULT([
+- The following command may be used to install it:
+- sudo apt-get install libtool
+- ])
+- OK=yes
+- fi
+- if yum --version > /dev/null 2> /dev/null; then
+- AC_MSG_RESULT([
+- The following command may be used to install it:
+- sudo yum install libtool
+- ])
+- OK=yes
+- fi
+- if pkg_info -a > /dev/null 2> /dev/null; then
+- AC_MSG_RESULT([
+- The following command may be used to install it:
+- sudo pkg_add -r libtool
+- ])
+- OK=yes
+- fi
+- if test "$OK" != "yes"; then
+- AC_MSG_RESULT([
+- If you are using a package based install, you will need the
+- libtool package.
+- ])
+- fi
+- exit 1
+-fi
+-
+ dnl
+ dnl If the soelim program exists, and understands the -I option,
+ dnl arrange for the Makefile to install the .ps files from the
+--- srecord-1.57.orig/Makefile.in
++++ srecord-1.57/Makefile.in
+@@ -35,6 +35,7 @@
+ #
+ # directory containing the source
+ #
++top_builddir = @top_builddir@
+ srcdir = @srcdir@
+ VPATH = @srcdir@
+
diff --git a/dev-embedded/srecord/files/srecord-1.57-parallel-install.patch b/dev-embedded/srecord/files/srecord-1.57-parallel-install.patch
new file mode 100644
index 000000000000..256071d5fa19
--- /dev/null
+++ b/dev-embedded/srecord/files/srecord-1.57-parallel-install.patch
@@ -0,0 +1,382 @@
+--- srecord-1.57/Makefile.in.orig
++++ srecord-1.57/Makefile.in
+@@ -316,9 +316,9 @@
+ man/man1/o_sequence.so man/man1/z_copyright.so \
+ man/man1/z_exit.so man/man1/z_options.so \
+ man/man1/.mandir
+- $(SOELIM) -I. -Iman/man1 man/man1/srec_cat.1 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man1 man/man1/srec_cat.1 > man/man1/srec_cat.1.man.man
++ $(INSTALL_DATA) man/man1/srec_cat.1.man.man $@
++ @rm -f man/man1/srec_cat.1.man
+
+ $(mandir)/man1/srec_cmp.1: man/man1/srec_cmp.1 etc/version.so \
+ man/man1/o_at.so man/man1/o_ignore_checksums.so \
+@@ -326,15 +326,15 @@
+ man/man1/o_sequence.so man/man1/z_copyright.so \
+ man/man1/z_exit.so man/man1/z_options.so \
+ man/man1/.mandir
+- $(SOELIM) -I. -Iman/man1 man/man1/srec_cmp.1 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man1 man/man1/srec_cmp.1 > man/man1/srec_cmp.1.man
++ $(INSTALL_DATA) man/man1/srec_cmp.1.man $@
++ @rm -f man/man1/srec_cmp.1.man
+
+ $(mandir)/man1/srec_examples.1: man/man1/srec_examples.1 etc/version.so \
+ man/man1/z_copyright.so man/man1/.mandir
+- $(SOELIM) -I. -Iman/man1 man/man1/srec_examples.1 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man1 man/man1/srec_examples.1 > man/man1/srec_examples.1.man
++ $(INSTALL_DATA) man/man1/srec_examples.1.man $@
++ @rm -f man/man1/srec_examples.1.man
+
+ $(mandir)/man1/srec_info.1: man/man1/srec_info.1 etc/version.so \
+ man/man1/o_at.so man/man1/o_ignore_checksums.so \
+@@ -342,21 +342,21 @@
+ man/man1/o_sequence.so man/man1/z_copyright.so \
+ man/man1/z_exit.so man/man1/z_options.so \
+ man/man1/.mandir
+- $(SOELIM) -I. -Iman/man1 man/man1/srec_info.1 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man1 man/man1/srec_info.1 > man/man1/srec_info.1.man
++ $(INSTALL_DATA) man/man1/srec_info.1.man $@
++ @rm -f man/man1/srec_info.1.man
+
+ $(mandir)/man1/srec_input.1: man/man1/srec_input.1 etc/version.so \
+ man/man1/o_ignore_checksums.so man/man1/z_copyright.so \
+ man/man1/z_options.so man/man1/.mandir
+- $(SOELIM) -I. -Iman/man1 man/man1/srec_input.1 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man1 man/man1/srec_input.1 > man/man1/srec_input.1.man
++ $(INSTALL_DATA) man/man1/srec_input.1.man $@
++ @rm -f man/man1/srec_input.1.man
+
+ $(mandir)/man1/srec_license.1: man/man1/srec_license.1 man/man1/.mandir
+- $(SOELIM) -I. -Iman/man1 man/man1/srec_license.1 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man1 man/man1/srec_license.1 > man/man1/srec_license.1.man
++ $(INSTALL_DATA) man/man1/srec_license.1.man $@
++ @rm -f man/man1/srec_license.1.man
+
+ man/man3/.mandir: man/.mandir
+ -$(INSTALL) -m 0755 -d $(mandir)/man3
+@@ -365,15 +365,15 @@
+
+ $(mandir)/man3/srecord.3: man/man3/srecord.3 etc/version.so \
+ man/man1/z_copyright.so man/man3/.mandir
+- $(SOELIM) -I. -Iman/man3 man/man3/srecord.3 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man3 man/man3/srecord.3 > man/man3/srecord.3.man
++ $(INSTALL_DATA) man/man3/srecord.3.man $@
++ @rm -f man/man3/srecord.3.man
+
+ $(mandir)/man3/srecord_license.3: man/man3/srecord_license.3 \
+ man/man3/.mandir
+- $(SOELIM) -I. -Iman/man3 man/man3/srecord_license.3 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man3 man/man3/srecord_license.3 > man/man3/srecord_license.3.man
++ $(INSTALL_DATA) man/man3/srecord_license.3.man $@
++ @rm -f man/man3/srecord_license.3.man
+
+ man/man5/.mandir: man/.mandir
+ -$(INSTALL) -m 0755 -d $(mandir)/man5
+@@ -382,195 +382,195 @@
+
+ $(mandir)/man5/srec_aomf.5: man/man5/srec_aomf.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_aomf.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_aomf.5 > man/man5/srec_aomf.5.man
++ $(INSTALL_DATA) man/man5/srec_aomf.5.man $@
++ @rm -f man/man5/srec_aomf.5.man
+
+ $(mandir)/man5/srec_ascii_hex.5: man/man5/srec_ascii_hex.5 \
+ etc/version.so man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_ascii_hex.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_ascii_hex.5 > man/man5/srec_ascii_hex.5.man
++ $(INSTALL_DATA) man/man5/srec_ascii_hex.5.man $@
++ @rm -f man/man5/srec_ascii_hex.5.man
+
+ $(mandir)/man5/srec_atmel_generic.5: man/man5/srec_atmel_generic.5 \
+ etc/version.so man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_atmel_generic.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_atmel_generic.5 > man/man5/srec_atmel_generic.5.man
++ $(INSTALL_DATA) man/man5/srec_atmel_generic.5.man $@
++ @rm -f man/man5/srec_atmel_generic.5.man
+
+ $(mandir)/man5/srec_binary.5: man/man5/srec_binary.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_binary.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_binary.5 > man/man5/srec_binary.5.man
++ $(INSTALL_DATA) man/man5/srec_binary.5.man $@
++ @rm -f man/man5/srec_binary.5.man
+
+ $(mandir)/man5/srec_brecord.5: man/man5/srec_brecord.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_brecord.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_brecord.5 > man/man5/srec_brecord.5.man
++ $(INSTALL_DATA) man/man5/srec_brecord.5.man $@
++ @rm -f man/man5/srec_brecord.5.man
+
+ $(mandir)/man5/srec_cosmac.5: man/man5/srec_cosmac.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_cosmac.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_cosmac.5 > man/man5/srec_cosmac.5.man
++ $(INSTALL_DATA) man/man5/srec_cosmac.5.man $@
++ @rm -f man/man5/srec_cosmac.5.man
+
+ $(mandir)/man5/srec_dec_binary.5: man/man5/srec_dec_binary.5 \
+ etc/version.so man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_dec_binary.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_dec_binary.5 > man/man5/srec_dec_binary.5.man
++ $(INSTALL_DATA) man/man5/srec_dec_binary.5.man $@
++ @rm -f man/man5/srec_dec_binary.5.man
+
+ $(mandir)/man5/srec_emon52.5: man/man5/srec_emon52.5 man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_emon52.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_emon52.5 > man/man5/srec_emon52.5.man
++ $(INSTALL_DATA) man/man5/srec_emon52.5.man $@
++ @rm -f man/man5/srec_emon52.5.man
+
+ $(mandir)/man5/srec_fairchild.5: man/man5/srec_fairchild.5 \
+ etc/version.so man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_fairchild.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_fairchild.5 > man/man5/srec_fairchild.5.man
++ $(INSTALL_DATA) man/man5/srec_fairchild.5.man $@
++ @rm -f man/man5/srec_fairchild.5.man
+
+ $(mandir)/man5/srec_fastload.5: man/man5/srec_fastload.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_fastload.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_fastload.5 > man/man5/srec_fastload.5.man
++ $(INSTALL_DATA) man/man5/srec_fastload.5.man $@
++ @rm -f man/man5/srec_fastload.5.man
+
+ $(mandir)/man5/srec_formatted_binary.5: \
+ man/man5/srec_formatted_binary.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_formatted_binary.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_formatted_binary.5 > man/man5/srec_formatted_binary.5.man
++ $(INSTALL_DATA) man/man5/srec_formatted_binary.5.man $@
++ @rm -f man/man5/srec_formatted_binary.5.man
+
+ $(mandir)/man5/srec_forth.5: man/man5/srec_forth.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_forth.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_forth.5 > man/man5/srec_forth.5.man
++ $(INSTALL_DATA) man/man5/srec_forth.5.man $@
++ @rm -f man/man5/srec_forth.5.man
+
+ $(mandir)/man5/srec_fpc.5: man/man5/srec_fpc.5 man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_fpc.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_fpc.5 > man/man5/srec_fpc.5.man
++ $(INSTALL_DATA) man/man5/srec_fpc.5.man $@
++ @rm -f man/man5/srec_fpc.5.man
+
+ $(mandir)/man5/srec_intel.5: man/man5/srec_intel.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_intel.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_intel.5 > man/man5/srec_intel.5.man
++ $(INSTALL_DATA) man/man5/srec_intel.5.man $@
++ @rm -f man/man5/srec_intel.5.man
+
+ $(mandir)/man5/srec_intel16.5: man/man5/srec_intel16.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_intel16.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_intel16.5 > man/man5/srec_intel16.5.man
++ $(INSTALL_DATA) man/man5/srec_intel16.5.man $@
++ @rm -f man/man5/srec_intel16.5.man
+
+ $(mandir)/man5/srec_mif.5: man/man5/srec_mif.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_mif.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_mif.5 > man/man5/srec_mif.5.man
++ $(INSTALL_DATA) man/man5/srec_mif.5.man $@
++ @rm -f man/man5/srec_mif.5.man
+
+ $(mandir)/man5/srec_mos_tech.5: man/man5/srec_mos_tech.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_mos_tech.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_mos_tech.5 > man/man5/srec_mos_tech.5.man
++ $(INSTALL_DATA) man/man5/srec_mos_tech.5.man $@
++ @rm -f man/man5/srec_mos_tech.5.man
+
+ $(mandir)/man5/srec_motorola.5: man/man5/srec_motorola.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_motorola.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_motorola.5 > man/man5/srec_motorola.5.man
++ $(INSTALL_DATA) man/man5/srec_motorola.5.man $@
++ @rm -f man/man5/srec_motorola.5.man
+
+ $(mandir)/man5/srec_msbin.5: man/man5/srec_msbin.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_msbin.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_msbin.5 > man/man5/srec_msbin.5.man
++ $(INSTALL_DATA) man/man5/srec_msbin.5.man $@
++ @rm -f man/man5/srec_msbin.5.man
+
+ $(mandir)/man5/srec_needham.5: man/man5/srec_needham.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_needham.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_needham.5 > man/man5/srec_needham.5.man
++ $(INSTALL_DATA) man/man5/srec_needham.5.man $@
++ @rm -f man/man5/srec_needham.5.man
+
+ $(mandir)/man5/srec_os65v.5: man/man5/srec_os65v.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_os65v.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_os65v.5 > man/man5/srec_os65v.5.man
++ $(INSTALL_DATA) man/man5/srec_os65v.5.man $@
++ @rm -f man/man5/srec_os65v.5.man
+
+ $(mandir)/man5/srec_signetics.5: man/man5/srec_signetics.5 \
+ man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_signetics.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_signetics.5 > man/man5/srec_signetics.5.man
++ $(INSTALL_DATA) man/man5/srec_signetics.5.man $@
++ @rm -f man/man5/srec_signetics.5.man
+
+ $(mandir)/man5/srec_spasm.5: man/man5/srec_spasm.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_spasm.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_spasm.5 > man/man5/srec_spasm.5.man
++ $(INSTALL_DATA) man/man5/srec_spasm.5.man $@
++ @rm -f man/man5/srec_spasm.5.man
+
+ $(mandir)/man5/srec_spectrum.5: man/man5/srec_spectrum.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_spectrum.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_spectrum.5 > man/man5/srec_spectrum.5.man
++ $(INSTALL_DATA) man/man5/srec_spectrum.5.man $@
++ @rm -f man/man5/srec_spectrum.5.man
+
+ $(mandir)/man5/srec_stewie.5: man/man5/srec_stewie.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_stewie.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_stewie.5 > man/man5/srec_stewie.5.man
++ $(INSTALL_DATA) man/man5/srec_stewie.5.man $@
++ @rm -f man/man5/srec_stewie.5.man
+
+ $(mandir)/man5/srec_tektronix.5: man/man5/srec_tektronix.5 \
+ etc/version.so man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_tektronix.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_tektronix.5 > man/man5/srec_tektronix.5.man
++ $(INSTALL_DATA) man/man5/srec_tektronix.5.man $@
++ @rm -f man/man5/srec_tektronix.5.man
+
+ $(mandir)/man5/srec_tektronix_extended.5: \
+ man/man5/srec_tektronix_extended.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_tektronix_extended.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_tektronix_extended.5 > man/man5/srec_tektronix_extended.5.man
++ $(INSTALL_DATA) man/man5/srec_tektronix_extended.5.man $@
++ @rm -f man/man5/srec_tektronix_extended.5.man
+
+ $(mandir)/man5/srec_ti_tagged.5: man/man5/srec_ti_tagged.5 \
+ etc/version.so man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_ti_tagged.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_ti_tagged.5 > man/man5/srec_ti_tagged.5.man
++ $(INSTALL_DATA) man/man5/srec_ti_tagged.5.man $@
++ @rm -f man/man5/srec_ti_tagged.5.man
+
+ $(mandir)/man5/srec_ti_tagged_16.5: man/man5/srec_ti_tagged_16.5 \
+ etc/version.so man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_ti_tagged_16.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_ti_tagged_16.5 > man/man5/srec_ti_tagged_16.5.man
++ $(INSTALL_DATA) man/man5/srec_ti_tagged_16.5.man $@
++ @rm -f man/man5/srec_ti_tagged_16.5.man
+
+ $(mandir)/man5/srec_ti_txt.5: man/man5/srec_ti_txt.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_ti_txt.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_ti_txt.5 > man/man5/srec_ti_txt.5.man
++ $(INSTALL_DATA) man/man5/srec_ti_txt.5.man $@
++ @rm -f man/man5/srec_ti_txt.5.man
+
+ $(mandir)/man5/srec_vmem.5: man/man5/srec_vmem.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_vmem.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_vmem.5 > man/man5/srec_vmem.5.man
++ $(INSTALL_DATA) man/man5/srec_vmem.5.man $@
++ @rm -f man/man5/srec_vmem.5.man
+
+ $(mandir)/man5/srec_wilson.5: man/man5/srec_wilson.5 etc/version.so \
+ man/man1/z_copyright.so man/man5/.mandir
+- $(SOELIM) -I. -Iman/man5 man/man5/srec_wilson.5 > tmp
+- $(INSTALL_DATA) tmp $@
+- @rm -f tmp
++ $(SOELIM) -I. -Iman/man5 man/man5/srec_wilson.5 > man/man5/srec_wilson.5.man
++ $(INSTALL_DATA) man/man5/srec_wilson.5.man $@
++ @rm -f man/man5/srec_wilson.5.man
+
+ script/test_prelude: script/test_prelude.in ./config.status
+ CONFIG_FILES=$@:script/test_prelude.in CONFIG_HEADERS= $(SH) \
diff --git a/dev-embedded/srecord/srecord-1.57.ebuild b/dev-embedded/srecord/srecord-1.57.ebuild
new file mode 100644
index 000000000000..26931f1cd371
--- /dev/null
+++ b/dev-embedded/srecord/srecord-1.57.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/srecord/srecord-1.57.ebuild,v 1.1 2011/09/03 10:40:17 radhermit Exp $
+
+EAPI=4
+
+inherit eutils autotools
+
+DESCRIPTION="A collection of powerful tools for manipulating EPROM load files."
+HOMEPAGE="http://srecord.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="static-libs test"
+
+RDEPEND="dev-libs/libgcrypt"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ sys-apps/groff
+ test? ( app-arch/sharutils )"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-libtool.patch \
+ "${FILESDIR}"/${P}-parallel-install.patch
+
+ cp etc/configure.ac "${S}"
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ find "${D}" -name '*.la' -exec rm -f {} +
+}