1 |
commit: e5e9c00d11e91c95679caa0325f4b205774f3637 |
2 |
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 28 23:01:09 2016 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 28 23:01:34 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5e9c00d |
7 |
|
8 |
sys-libs/libedit: Add libedit to the tree. |
9 |
|
10 |
libedit is a port of the NetBSD editline library. |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
sys-libs/libedit/Manifest | 1 + |
15 |
sys-libs/libedit/libedit-3.1_p20150325.ebuild | 57 +++++++++++++++++++++++++++ |
16 |
sys-libs/libedit/metadata.xml | 12 ++++++ |
17 |
3 files changed, 70 insertions(+) |
18 |
|
19 |
diff --git a/sys-libs/libedit/Manifest b/sys-libs/libedit/Manifest |
20 |
new file mode 100644 |
21 |
index 0000000..f37982b |
22 |
--- /dev/null |
23 |
+++ b/sys-libs/libedit/Manifest |
24 |
@@ -0,0 +1 @@ |
25 |
+DIST libedit-20150325-3.1.tar.gz 502792 SHA256 c88a5e4af83c5f40dda8455886ac98923a9c33125699742603a88a0253fcc8c5 SHA512 03221f3de844a7768764b3ebf80bc3110a13699f452609ba351c134e4225fc7d9e826522c672e925a7f6183094b3f3dbf489f197ddd44e6b1ea5fed762aed07d WHIRLPOOL 19b50ac19c02d852e7fde10896d8e092e305ebd1066903c6a5a9be9792a56f55a5ffc1bebb80bcedacc22b9d9035944bc0ff94ca28173ad6ccc2e97c5754ec81 |
26 |
|
27 |
diff --git a/sys-libs/libedit/libedit-3.1_p20150325.ebuild b/sys-libs/libedit/libedit-3.1_p20150325.ebuild |
28 |
new file mode 100644 |
29 |
index 0000000..65f0be9 |
30 |
--- /dev/null |
31 |
+++ b/sys-libs/libedit/libedit-3.1_p20150325.ebuild |
32 |
@@ -0,0 +1,57 @@ |
33 |
+# Copyright 1999-2016 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+# $Id$ |
36 |
+ |
37 |
+EAPI=5 |
38 |
+ |
39 |
+AUTOTOOLS_AUTORECONF=1 |
40 |
+ |
41 |
+inherit eutils autotools-multilib |
42 |
+ |
43 |
+DATE="${PV##*_p}" |
44 |
+MY_PV="${PV%%_*}" |
45 |
+MY_P="${PN}-${DATE}-${MY_PV}" |
46 |
+ |
47 |
+DESCRIPTION="Port of the NetBSD editline library" |
48 |
+HOMEPAGE="http://thrysoee.dk/editline" |
49 |
+SRC_URI="http://thrysoee.dk/editline/${MY_P}.tar.gz" |
50 |
+ |
51 |
+LICENSE="BSD" |
52 |
+SLOT="0" |
53 |
+KEYWORDS="~amd64 ~x86" |
54 |
+IUSE="examples" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ sys-libs/ncurses:0=" |
58 |
+ |
59 |
+DEPEND=" |
60 |
+ ${RDEPEND} |
61 |
+ sys-devel/libtool |
62 |
+ virtual/pkgconfig" |
63 |
+ |
64 |
+S="${WORKDIR}/${MY_P}" |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ autotools-multilib_src_prepare |
68 |
+} |
69 |
+ |
70 |
+multilib_src_configure() { |
71 |
+ local myeconfargs=( |
72 |
+ --enable-widec |
73 |
+ $(use_enable examples) |
74 |
+ ) |
75 |
+ |
76 |
+ autotools-utils_src_configure |
77 |
+} |
78 |
+ |
79 |
+src_compile() { |
80 |
+ autotools-multilib_src_compile |
81 |
+} |
82 |
+ |
83 |
+multilib_src_install() { |
84 |
+ emake install DESTDIR="${D}" |
85 |
+} |
86 |
+ |
87 |
+src_install() { |
88 |
+ autotools-multilib_src_install |
89 |
+} |
90 |
|
91 |
diff --git a/sys-libs/libedit/metadata.xml b/sys-libs/libedit/metadata.xml |
92 |
new file mode 100644 |
93 |
index 0000000..5a0912c |
94 |
--- /dev/null |
95 |
+++ b/sys-libs/libedit/metadata.xml |
96 |
@@ -0,0 +1,12 @@ |
97 |
+<?xml version="1.0" encoding="UTF-8"?> |
98 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
99 |
+<pkgmetadata> |
100 |
+ <maintainer type="person"> |
101 |
+ <email>monsieurp@g.o</email> |
102 |
+ <name>Patrice Clement</name> |
103 |
+ </maintainer> |
104 |
+ <maintainer type="project"> |
105 |
+ <email>base-system@g.o</email> |
106 |
+ <name>Gentoo Base System</name> |
107 |
+ </maintainer> |
108 |
+</pkgmetadata> |