/[gentoo-x86]/app-misc/boxes/boxes-1.1.2-r1.ebuild
Gentoo

Contents of /app-misc/boxes/boxes-1.1.2-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Mon Apr 13 07:55:34 2015 UTC (4 years, 10 months ago) by ago
Branch: MAIN
Changes since 1.1: +2 -2 lines
Stable for amd64, wrt bug #546374

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="amd64", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/boxes/boxes-1.1.2-r1.ebuild,v 1.1 2015/03/11 08:48:37 jlec Exp $
4
5 EAPI=5
6
7 inherit flag-o-matic toolchain-funcs
8
9 DESCRIPTION="Draw any kind of boxes around your text"
10 HOMEPAGE="http://boxes.thomasjensen.com/ https://github.com/ascii-boxes/boxes"
11 SRC_URI="https://github.com/ascii-boxes/boxes/archive/v${PV}.tar.gz -> ${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~alpha amd64 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
16 IUSE=""
17
18 DEPEND="
19 sys-devel/bison
20 sys-devel/flex
21 "
22
23 src_prepare() {
24 append-cflags -Iregexp -I. -ansi
25 append-ldflags -Lregexp
26 sed \
27 -e 's:STRIP=true:STRIP=false:g' \
28 -i src/Makefile || die
29 }
30
31 src_compile() {
32 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
33 }
34
35 src_install() {
36 dobin src/boxes
37 doman doc/boxes.1
38 dodoc README.md
39 insinto /usr/share/boxes
40 doins boxes-config
41 }

  ViewVC Help
Powered by ViewVC 1.1.20