summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2012-03-30 15:18:58 +0000
committerAlexis Ballier <aballier@gentoo.org>2012-03-30 15:18:58 +0000
commit7abdfd48e51b8f242e395df4e92a51d8fd57d606 (patch)
tree664a9af2ea493d571e6a18f6590f43ebaa38c0e4 /dev-libs
parentSome USE deps for last commit (diff)
downloadgentoo-2-7abdfd48e51b8f242e395df4e92a51d8fd57d606.tar.gz
gentoo-2-7abdfd48e51b8f242e395df4e92a51d8fd57d606.tar.bz2
gentoo-2-7abdfd48e51b8f242e395df4e92a51d8fd57d606.zip
version bump
(Portage version: 2.2.0_alpha96/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libedit/ChangeLog8
-rw-r--r--dev-libs/libedit/libedit-20120311.3.0.ebuild47
2 files changed, 54 insertions, 1 deletions
diff --git a/dev-libs/libedit/ChangeLog b/dev-libs/libedit/ChangeLog
index 70c991b40a31..15b97453304e 100644
--- a/dev-libs/libedit/ChangeLog
+++ b/dev-libs/libedit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libedit
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/ChangeLog,v 1.60 2012/02/01 09:17:19 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/ChangeLog,v 1.61 2012/03/30 15:18:58 aballier Exp $
+
+*libedit-20120311.3.0 (30 Mar 2012)
+
+ 30 Mar 2012; Alexis Ballier <aballier@gentoo.org>
+ +libedit-20120311.3.0.ebuild:
+ version bump
01 Feb 2012; Samuli Suominen <ssuominen@gentoo.org>
libedit-20110709.3.0.ebuild:
diff --git a/dev-libs/libedit/libedit-20120311.3.0.ebuild b/dev-libs/libedit/libedit-20120311.3.0.ebuild
new file mode 100644
index 000000000000..32e60184c83b
--- /dev/null
+++ b/dev-libs/libedit/libedit-20120311.3.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/libedit-20120311.3.0.ebuild,v 1.1 2012/03/30 15:18:58 aballier Exp $
+
+EAPI=2
+
+inherit eutils toolchain-funcs versionator base
+
+MY_PV=$(get_major_version)-$(get_after_major_version)
+MY_P=${PN}-${MY_PV}
+
+DESCRIPTION="BSD replacement for libreadline."
+HOMEPAGE="http://www.thrysoee.dk/editline/"
+SRC_URI="http://www.thrysoee.dk/editline/${MY_P}.tar.gz"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="static-libs"
+
+DEPEND=">=sys-libs/ncurses-5.7-r5[static-libs?]
+ !<=sys-freebsd/freebsd-lib-6.2_rc1"
+
+RDEPEND=${DEPEND}
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-ncursesprivate.patch"
+ "${FILESDIR}/${PN}-20100424.3.0-bsd.patch"
+ "${FILESDIR}/${PN}-20110709.3.0-weak-reference.patch"
+ )
+
+src_configure() {
+ econf \
+ $(use_enable static-libs static) \
+ --enable-widec \
+ --disable-dependency-tracking \
+ --enable-fast-install
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ find "${D}" -name '*.la' -delete
+
+ gen_usr_ldscript -a edit
+}