diff options
author | Paul Labedan <plabedan@gmail.com> | 2015-12-04 11:39:40 +0100 |
---|---|---|
committer | Paul Labedan <plabedan@gmail.com> | 2015-12-04 11:39:40 +0100 |
commit | ac5982b2e2fa565fb1e3fa78bbaef160fb4c5c43 (patch) | |
tree | 6c6bf5dfd767a6ce7746c8ab1a2ab01e51fb2a2c /dev-libs | |
parent | cleanup (diff) | |
download | plab-ac5982b2e2fa565fb1e3fa78bbaef160fb4c5c43.tar.gz plab-ac5982b2e2fa565fb1e3fa78bbaef160fb4c5c43.tar.bz2 plab-ac5982b2e2fa565fb1e3fa78bbaef160fb4c5c43.zip |
add libedit-20150325.3.1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libedit/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libedit/libedit-20150325.3.1.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/libedit/Manifest b/dev-libs/libedit/Manifest new file mode 100644 index 0000000..89762f4 --- /dev/null +++ b/dev-libs/libedit/Manifest @@ -0,0 +1,2 @@ +DIST libedit-20150325-3.1.tar.gz 502792 SHA256 c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5 SHA512 03221f3de844a7768764b3ebf80bc3110a13699f452609ba351c134e4225fc7d9e826522c672e925a7f6183094b3f3dbf489f197ddd44e6b1ea5fed762aed07d WHIRLPOOL 19b50ac19c02d852e7fde10896d8e092e305ebd1066903c6a5a9be9792a56f55a5ffc1bebb80bcedacc22b9d9035944bc0ff94ca28173ad6ccc2e97c5754ec81 +EBUILD libedit-20150325.3.1.ebuild 1276 SHA256 698e932859269032c7caa61a2d39e4d5ae7475236e47a24a798561caf0ce74ce SHA512 91bd73edacd2f44648b9b04356dac363a417c1454bd6e7760e75d58b2293c16765af619afddda7a208db8d9198c334befbd40153e66ef55efed21b60d5e7177d WHIRLPOOL 475f8fc11c1fc07d6ac08794477965e7e1d661bea9e57951694fdbb165bde3ce0289d72971f121ec86bcbc8d6091da14bce0cb431395516c490ce97ee0078821 diff --git a/dev-libs/libedit/libedit-20150325.3.1.ebuild b/dev-libs/libedit/libedit-20150325.3.1.ebuild new file mode 100644 index 0000000..374d115 --- /dev/null +++ b/dev-libs/libedit/libedit-20150325.3.1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 arm64 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 ~x86-macos" +IUSE="examples static-libs" + +DEPEND=">=sys-libs/ncurses-5.9-r3:=[static-libs?,${MULTILIB_USEDEP}] + !<=sys-freebsd/freebsd-lib-6.2_rc1" + +RDEPEND=${DEPEND} + +S="${WORKDIR}/${MY_P}" + +PATCHES=( + "${FILESDIR}/${PN}-ncursesprivate.patch" + "${FILESDIR}/${PN}-20120311-3.0-el_fn_sh_complete.patch" + ) + +multilib_src_configure() { + ECONF_SOURCE="${S}" econf \ + $(use_enable examples) \ + $(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() { + einstalldocs + prune_libtool_files --all +} |