summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/libbinio')
-rw-r--r--dev-cpp/libbinio/files/libbinio-1.4-cstdio.patch5
-rw-r--r--dev-cpp/libbinio/files/libbinio-1.4-texi.patch4
-rw-r--r--dev-cpp/libbinio/libbinio-1.4-r1.ebuild35
3 files changed, 39 insertions, 5 deletions
diff --git a/dev-cpp/libbinio/files/libbinio-1.4-cstdio.patch b/dev-cpp/libbinio/files/libbinio-1.4-cstdio.patch
index f5ee5e99e0d2..f9455a561314 100644
--- a/dev-cpp/libbinio/files/libbinio-1.4-cstdio.patch
+++ b/dev-cpp/libbinio/files/libbinio-1.4-cstdio.patch
@@ -1,6 +1,5 @@
-diff -Naurp libbinio-1.4-orig/src/binwrap.cpp libbinio-1.4/src/binwrap.cpp
---- libbinio-1.4-orig/src/binwrap.cpp 2009-05-16 15:02:48.000000000 +0200
-+++ libbinio-1.4/src/binwrap.cpp 2009-05-16 15:05:45.000000000 +0200
+--- a/src/binwrap.cpp
++++ b/src/binwrap.cpp
@@ -18,6 +18,7 @@
*/
diff --git a/dev-cpp/libbinio/files/libbinio-1.4-texi.patch b/dev-cpp/libbinio/files/libbinio-1.4-texi.patch
index da55e9836ee0..b7a4798848b2 100644
--- a/dev-cpp/libbinio/files/libbinio-1.4-texi.patch
+++ b/dev-cpp/libbinio/files/libbinio-1.4-texi.patch
@@ -1,6 +1,6 @@
Patch from http://libbinio.cvs.sourceforge.net/viewvc/libbinio/libbinio/doc/libbinio.texi?r1=1.13&r2=1.14
---- doc/libbinio.texi 2004/08/18 19:55:22 1.13
-+++ doc/libbinio.texi 2006/05/14 21:36:13 1.14
+--- a/doc/libbinio.texi
++++ b/doc/libbinio.texi
@@ -9,7 +9,7 @@
This manual documents the binary I/O stream class library, version
@value{VERSION}. It was last updated on @value{UPDATED}.
diff --git a/dev-cpp/libbinio/libbinio-1.4-r1.ebuild b/dev-cpp/libbinio/libbinio-1.4-r1.ebuild
new file mode 100644
index 000000000000..e4695da3705f
--- /dev/null
+++ b/dev-cpp/libbinio/libbinio-1.4-r1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit eutils
+
+DESCRIPTION="Binary I/O stream class library"
+HOMEPAGE="http://libbinio.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="static-libs"
+
+DOCS=( AUTHORS NEWS README )
+
+DEPEND="
+ sys-apps/texinfo
+"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-cstdio.patch
+ "${FILESDIR}"/${P}-texi.patch
+)
+
+src_configure() {
+ econf $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ prune_libtool_files
+}