From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 253231384B4 for ; Sat, 14 Nov 2015 23:47:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F7CF21C13E; Sat, 14 Nov 2015 23:47:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8668B21C13E for ; Sat, 14 Nov 2015 23:47:03 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 925BA34068A for ; Sat, 14 Nov 2015 23:47:02 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 226371E4 for ; Sat, 14 Nov 2015 23:47:00 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1447544296.eb57538206ae8a3d73c7736f77c43de6ad7806dc.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/lha/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/lha/lha-114i-r8.ebuild X-VCS-Directories: app-arch/lha/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: eb57538206ae8a3d73c7736f77c43de6ad7806dc X-VCS-Branch: master Date: Sat, 14 Nov 2015 23:47:00 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 31f24594-c887-4823-8d84-e3c33b524727 X-Archives-Hash: e471f9f7729e8e1b5ac1ab1d4bfe6375 commit: eb57538206ae8a3d73c7736f77c43de6ad7806dc Author: Paolo Pedroni users noreply github com> AuthorDate: Tue Nov 10 15:11:42 2015 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sat Nov 14 23:38:16 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb575382 app-arch/lha: create lha-114i-r8.ebuild Fix bug #467544 app-arch/lha/lha-114i-r8.ebuild | 50 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) diff --git a/app-arch/lha/lha-114i-r8.ebuild b/app-arch/lha/lha-114i-r8.ebuild new file mode 100644 index 0000000..02964b3 --- /dev/null +++ b/app-arch/lha/lha-114i-r8.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +#Id$ + +EAPI=5 +inherit autotools eutils flag-o-matic + +MY_P=${PN}-1.14i-ac20050924p1 + +DESCRIPTION="Utility for creating and opening lzh archives" +HOMEPAGE="http://lha.sourceforge.jp" +SRC_URI="mirror://sourceforge.jp/${PN}/22231/${MY_P}.tar.gz" + +LICENSE="lha" +SLOT="0" +KEYWORDS="alpha amd64 arm hppa ia64 m68k ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~m68k-mint" +IUSE="" + +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "${FILESDIR}"/${P}-file-list-from-stdin.patch + epatch "${FILESDIR}"/${P}-fix-getopt_long-declaration.patch + + sed -e '/^AM_C_PROTOTYPES/d' \ + -e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \ + -i configure.ac || die #423125, 467544 + + eautoreconf +} + +src_configure() { + append-cppflags -DPROTOTYPES #423125 + + if [[ ${CHOST} == *-interix* ]]; then + export ac_cv_header_inttypes_h=no + export ac_cv_func_iconv=no + fi + + econf +} + +src_install() { + emake \ + DESTDIR="${D}" \ + mandir="${EPREFIX}"/usr/share/man/ja \ + install + + dodoc ChangeLog Hacking_of_LHa +}