forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dev-libs/editline: new package, a dependency of >=sys-apps/nix-2.2.1
Package-Manager: Portage-2.3.54, Repoman-2.3.12 Signed-off-by: Sergei Trofimovich <[email protected]>
- Loading branch information
Sergei Trofimovich
committed
Jan 12, 2019
1 parent
5f9cf95
commit d99cb7f
Showing
4 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DIST editline-1.16.0.tar.xz 250376 BLAKE2B a9e080eb2b105f7c83dfbb26dfaebf07d7d2d664098504f4995b12b14b100420118ab70454afbba63518f4c510e2349b68923fade2412940e190177cfab442df SHA512 99e1070d9d658aaec82582d5148a58e7039182f9d73e755547bc090682821fbfb29af19261f38db9a0f022e304e8f8e779e79f7b21f57ad5c80af5bcf316c6f6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Copyright 1999-2019 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=7 | ||
|
||
DESCRIPTION="line editing library for UNIX call compatible with the FSF readline" | ||
HOMEPAGE="http://troglobit.com/projects/editline/" | ||
SRC_URI="https://github.com/troglobit/editline/releases/download/${PV}/${P}.tar.xz" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~x86" | ||
IUSE="" | ||
|
||
DEPEND="" | ||
RDEPEND="" | ||
|
||
PATCHES=("${FILESDIR}"/${PN}-1.16.0-rename-man.patch) | ||
|
||
src_prepare() { | ||
default | ||
|
||
# To avoid collision with dev-libs/libedit | ||
# we rename man/editline.3 to man/libeditline.3 | ||
mv man/editline.3 man/libeditline.3 || die | ||
} | ||
|
||
src_configure() { | ||
econf --disable-static | ||
} | ||
|
||
src_install() { | ||
default | ||
|
||
# package installs .pc file | ||
find "${D}" -name '*.la' -delete || die | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
To avoid collision with dev-libs/libedit | ||
we rename man/editline.3 to man/libeditline.3 | ||
|
||
This patch also needs a rename from outside the patch: | ||
$ mv man/editline.3 man/libeditline.3 | ||
|
||
--- a/man/Makefile.am | ||
+++ b/man/Makefile.am | ||
@@ -3,1 +3,1 @@ | ||
-dist_man_MANS = editline.3 | ||
+dist_man_MANS = libeditline.3 | ||
--- a/man/Makefile.in | ||
+++ b/man/Makefile.in | ||
@@ -273,1 +273,1 @@ top_build_prefix = @top_build_prefix@ | ||
-dist_man_MANS = editline.3 | ||
+dist_man_MANS = libeditline.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<maintainer type="person"> | ||
<email>[email protected]</email> | ||
</maintainer> | ||
</pkgmetadata> |