summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-22 12:58:42 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-22 12:58:42 +0000
commitb75a889ed4c1ac470fd7d642113931f03bc8ecb1 (patch)
treecc1344b9c8b9be4cc999d75bac28a3b57b939c56 /dev-libs/libedit
parentBump -6.5 development version (diff)
downloadgentoo-2-b75a889ed4c1ac470fd7d642113931f03bc8ecb1.tar.gz
gentoo-2-b75a889ed4c1ac470fd7d642113931f03bc8ecb1.tar.bz2
gentoo-2-b75a889ed4c1ac470fd7d642113931f03bc8ecb1.zip
convert to multilib and remove useless || die and econf args
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'dev-libs/libedit')
-rw-r--r--dev-libs/libedit/ChangeLog8
-rw-r--r--dev-libs/libedit/libedit-20130611.3.1-r1.ebuild49
2 files changed, 56 insertions, 1 deletions
diff --git a/dev-libs/libedit/ChangeLog b/dev-libs/libedit/ChangeLog
index 0e0c5f01d438..f2589a40b68b 100644
--- a/dev-libs/libedit/ChangeLog
+++ b/dev-libs/libedit/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libedit
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/ChangeLog,v 1.75 2013/06/18 12:02:14 naota Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/ChangeLog,v 1.76 2013/08/22 12:58:42 aballier Exp $
+
+*libedit-20130611.3.1-r1 (22 Aug 2013)
+
+ 22 Aug 2013; Alexis Ballier <aballier@gentoo.org>
+ +libedit-20130611.3.1-r1.ebuild:
+ convert to multilib and remove useless || die and econf args
*libedit-20130611.3.1 (18 Jun 2013)
diff --git a/dev-libs/libedit/libedit-20130611.3.1-r1.ebuild b/dev-libs/libedit/libedit-20130611.3.1-r1.ebuild
new file mode 100644
index 000000000000..26be2ad7bbfe
--- /dev/null
+++ b/dev-libs/libedit/libedit-20130611.3.1-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libedit/libedit-20130611.3.1-r1.ebuild,v 1.1 2013/08/22 12:58:42 aballier Exp $
+
+EAPI=5
+
+inherit eutils toolchain-funcs versionator base multilib-minimal
+
+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 ~amd64-fbsd ~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?,${MULTILIB_USEDEP}]
+ !<=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"
+ "${FILESDIR}/${PN}-20120311-3.0-el_fn_sh_complete.patch"
+ )
+
+multilib_src_configure() {
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ --enable-widec \
+ --enable-fast-install
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+ multilib_is_native_abi && gen_usr_ldscript -a edit
+}
+
+multilib_src_install_all() {
+ find "${ED}" -name '*.la' -delete
+}