summaryrefslogtreecommitdiff
path: root/dev-embedded/srecord
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-embedded/srecord
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-embedded/srecord')
-rw-r--r--dev-embedded/srecord/Manifest4
-rw-r--r--dev-embedded/srecord/files/srecord-1.57-libtool.patch70
-rw-r--r--dev-embedded/srecord/metadata.xml14
-rw-r--r--dev-embedded/srecord/srecord-1.64.ebuild39
4 files changed, 127 insertions, 0 deletions
diff --git a/dev-embedded/srecord/Manifest b/dev-embedded/srecord/Manifest
new file mode 100644
index 000000000000..a35a790d8209
--- /dev/null
+++ b/dev-embedded/srecord/Manifest
@@ -0,0 +1,4 @@
+AUX srecord-1.57-libtool.patch 1733 BLAKE2B bf3e3758ba00e01a7a2325a3d23f500055c9e4f01299e9e21e42d6516fce3055c49f28bb8384fe186ac6111d75d6f6e689b6425368182576d13f68ad624ea0c5 SHA512 f4b9d701ac7b364f5f43dab835c0249d9d2f54903a371cdd9a03a63f082e4c93f15adc4cc9a39ccf5dd8feb56f579c2f96697c0c7b8d2730cf845ac477b20a83
+DIST srecord-1.64.tar.gz 942513 BLAKE2B 5bd4e8706f2499968930883e624b3dc7f8f061e8d697584b63a8792d111fd51e37b198fd81a81d8ede6f7eeb42860e83e86a0abeb0856e4cb5847d3db2d30382 SHA512 f96f2d9cd2c475d040c0474a35a17ebca2f0fb737856cdafe1227758a3e52176e4ab3e8577520c21e75e468d74fa98695128c02120734b6e92d8573e76af50b3
+EBUILD srecord-1.64.ebuild 739 BLAKE2B 824cec0e4409b59a584d2894ecf0934cc3de55e99bc3dfbffa0dfe3112f72c2fd252feee6d0a58b1888b76a0fcc355b084afb10643e1dbb363d0b667c357b80b SHA512 84b65cfd579dca4b631c04060143047710df83a38bc781ffcbb2eea17cfe0c9e3c278634cde0e9d0c6d7bdb37e8069e709ba5e088660e251d44e94d0a5453a53
+MISC metadata.xml 455 BLAKE2B e79fff328a0032376b811c49e9e5db7fc8c3f2e539e5d475a91f976e475256dd16ed5e8166f8fe5aa7ba86034884d2bf2633fae8a466db2bdf07e0ab75b92fd5 SHA512 221d3f902bf77fb71de6db4fb99874fd37183124b5858b112240ab1469b1f92f3142876b039498fdff03a46445b83cb1ffc71d37305bed7ec5fa79924df92403
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/metadata.xml b/dev-embedded/srecord/metadata.xml
new file mode 100644
index 000000000000..17dbb943a18e
--- /dev/null
+++ b/dev-embedded/srecord/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>embedded@gentoo.org</email>
+ <name>Embedded Gentoo</name>
+ </maintainer>
+ <longdescription>
+The SRecord package is a collection of powerful tools for manipulating EPROM load files.
+</longdescription>
+ <upstream>
+ <remote-id type="sourceforge">srecord</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-embedded/srecord/srecord-1.64.ebuild b/dev-embedded/srecord/srecord-1.64.ebuild
new file mode 100644
index 000000000000..beccea452409
--- /dev/null
+++ b/dev-embedded/srecord/srecord-1.64.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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:0"
+DEPEND="${RDEPEND}
+ dev-libs/boost
+ sys-apps/groff
+ test? ( app-arch/sharutils )"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.57-libtool.patch )
+
+src_prepare() {
+ default
+
+ cp etc/configure.ac "${S}"
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}