/[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.6 - (show annotations) (download)
Tue Apr 21 18:58:49 2015 UTC (4 years, 10 months ago) by pacho
Branch: MAIN
Changes since 1.5: +2 -2 lines
ppc stable wrt bug #546374

(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --include-arches="ppc", signed Manifest commit with key A188FBD4)

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.5 2015/04/19 09:47:34 ago 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