summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-12-23 00:48:16 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-12-23 00:48:16 +0000
commit64d42e4e15ce5fa170764c426aa08023dc380389 (patch)
treef72608d58eaa0fe67eee8cd607f91ad6232c028b /dev-cpp
parentUSE="static-libs" and remove unnecessary libadplug.la libtool archive. (diff)
downloadgentoo-2-64d42e4e15ce5fa170764c426aa08023dc380389.tar.gz
gentoo-2-64d42e4e15ce5fa170764c426aa08023dc380389.tar.bz2
gentoo-2-64d42e4e15ce5fa170764c426aa08023dc380389.zip
USE="static-libs" and remove unnecessary libbinio.la libtool archive.
(Portage version: 2.2.0_alpha79/cvs/Linux x86_64)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/libbinio/ChangeLog5
-rw-r--r--dev-cpp/libbinio/libbinio-1.4.ebuild28
2 files changed, 20 insertions, 13 deletions
diff --git a/dev-cpp/libbinio/ChangeLog b/dev-cpp/libbinio/ChangeLog
index 0e515b5bf9d2..7786cf5019c7 100644
--- a/dev-cpp/libbinio/ChangeLog
+++ b/dev-cpp/libbinio/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-cpp/libbinio
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libbinio/ChangeLog,v 1.29 2011/03/26 13:03:29 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libbinio/ChangeLog,v 1.30 2011/12/23 00:48:16 ssuominen Exp $
+
+ 23 Dec 2011; Samuli Suominen <ssuominen@gentoo.org> libbinio-1.4.ebuild:
+ USE="static-libs" and remove unnecessary libbinio.la libtool archive.
26 Mar 2011; Michał Januszewski <spock@gentoo.org> libbinio-1.4.ebuild,
+files/libbinio-1.4-texi.patch:
diff --git a/dev-cpp/libbinio/libbinio-1.4.ebuild b/dev-cpp/libbinio/libbinio-1.4.ebuild
index d47d84c6305b..3da024d3a851 100644
--- a/dev-cpp/libbinio/libbinio-1.4.ebuild
+++ b/dev-cpp/libbinio/libbinio-1.4.ebuild
@@ -1,28 +1,32 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libbinio/libbinio-1.4.ebuild,v 1.19 2011/03/26 13:03:29 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libbinio/libbinio-1.4.ebuild,v 1.20 2011/12/23 00:48:16 ssuominen Exp $
+EAPI=4
inherit eutils
-KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd"
-
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"
-IUSE=""
+KEYWORDS="alpha amd64 hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd"
+IUSE="static-libs"
+
+DOCS=( AUTHORS NEWS README )
-DEPEND=""
-RDEPEND=""
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-cstdio.patch \
+ "${FILESDIR}"/${P}-texi.patch
+}
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-cstdio.patch"
- epatch "${FILESDIR}/${P}-texi.patch"
+src_configure() {
+ econf $(use_enable static-libs static)
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ default
+ rm -f "${ED}"usr/lib*/${PN}.la
}