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 950F51382BD for ; Sat, 18 Jun 2016 04:50:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BBFA414088; Sat, 18 Jun 2016 04:50:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2590F14088 for ; Sat, 18 Jun 2016 04:50:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7D3E03406C2 for ; Sat, 18 Jun 2016 04:50:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F3D5D1933 for ; Sat, 18 Jun 2016 04:50:02 +0000 (UTC) From: "Nicolas Bock" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicolas Bock" Message-ID: <1466225385.e7f0867293e8e6ffb5368b7c0974adb779e1614f.nicolasbock@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/boxes/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/boxes/boxes-1.1.2-r2.ebuild X-VCS-Directories: app-misc/boxes/ X-VCS-Committer: nicolasbock X-VCS-Committer-Name: Nicolas Bock X-VCS-Revision: e7f0867293e8e6ffb5368b7c0974adb779e1614f X-VCS-Branch: master Date: Sat, 18 Jun 2016 04:50:02 +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: f6699da7-63df-4a62-a868-24360f487cdf X-Archives-Hash: 8ff394e3e1e8f08b7937dd713a0ea717 commit: e7f0867293e8e6ffb5368b7c0974adb779e1614f Author: Nicolas Bock gentoo org> AuthorDate: Sat Jun 18 04:49:45 2016 +0000 Commit: Nicolas Bock gentoo org> CommitDate: Sat Jun 18 04:49:45 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7f08672 app-misc/boxes: Fix for Bug 586130 Thanks to Andreas Proteus sdf.lonestar.org> for the fix. Package-Manager: portage-2.2.28 app-misc/boxes/boxes-1.1.2-r2.ebuild | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/app-misc/boxes/boxes-1.1.2-r2.ebuild b/app-misc/boxes/boxes-1.1.2-r2.ebuild new file mode 100644 index 0000000..7a8910e --- /dev/null +++ b/app-misc/boxes/boxes-1.1.2-r2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Draw any kind of boxes around your text" +HOMEPAGE="http://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes" +SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +DEPEND=" + sys-devel/bison + sys-devel/flex + " + +src_prepare() { + append-cflags -Iregexp -I. -ansi -std=c99 + append-ldflags -Lregexp + sed \ + -e 's:STRIP=true:STRIP=false:g' \ + -i src/Makefile || die +} + +src_compile() { + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" +} + +src_install() { + dobin src/boxes + doman doc/boxes.1 + dodoc README.md + insinto /usr/share + newins boxes-config boxes +}