Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-text/recode: bump 3.7_pre, this get rid of old automake and lot o…
…f patches! Package-Manager: portage-2.2.8-r1
- Loading branch information
David Heidelberger
committed
Mar 3, 2014
1 parent
9af8485
commit 16ee27c
Showing
3 changed files
with
47 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 recode-3.7_pre20140303.zip 1902903 SHA256 5deac036280002bfda29b2e59c9c9334f74051d12350f21d3fe6c1cd34c0aaa0 SHA512 d8fb7e8f5a650815689455bd625331d83ff30076e7fed52e549616e067612493aa2cc5fc1b84a540c54ae0bf986f887c02372d8f376d29e49b50cba396d29400 WHIRLPOOL 58713b1295bfe6b725749dd34e9a245a38e551db1d1a6ee7e5c4732d85f0ef24e111cdf8e0466291d19398a6159d8ccc67c7804bed1f1e4d43ea7bafbb38831c |
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,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
<pkgmetadata> | ||
<herd>shell-tools</herd> | ||
</pkgmetadata> |
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,41 @@ | ||
# Copyright 1999-2014 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Header: $ | ||
|
||
EAPI=5 | ||
|
||
inherit eutils flag-o-matic libtool toolchain-funcs | ||
|
||
DESCRIPTION="Convert files between various character sets" | ||
HOMEPAGE="http://recode.progiciels-bpi.ca/" | ||
REV="2d7092a9999194fc0e9449717a8048c8d8e26c18" | ||
SRC_URI="https://github.com/pinard/Recode/archive/${REV}.zip -> ${P}.zip" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" | ||
IUSE="nls static-libs" | ||
|
||
DEPEND=" | ||
sys-devel/flex | ||
nls? ( sys-devel/gettext )" | ||
RDEPEND="" | ||
|
||
S=${WORKDIR}/Recode-${REV} | ||
|
||
src_configure() { | ||
tc-export CC LD | ||
# on solaris -lintl is needed to compile | ||
[[ ${CHOST} == *-solaris* ]] && append-libs "-lintl" | ||
# --without-included-gettext means we always use system headers | ||
# and library | ||
econf \ | ||
$(use_enable nls) \ | ||
$(use_enable static-libs static) | ||
} | ||
|
||
src_install() { | ||
default | ||
find "${ED}" -name '*.la' -exec rm -f {} + || die | ||
rm -f "${ED}"/usr/lib/charset.alias || die | ||
} |