/[gentoo-x86]/net-dialup/picocom/picocom-1.6.ebuild
Gentoo

Contents of /net-dialup/picocom/picocom-1.6.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Dec 18 18:12:01 2011 UTC (3 years ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -3 lines
Add ~sparc wrt #390151

(Portage version: 2.1.10.38/cvs/Linux ia64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-dialup/picocom/picocom-1.6.ebuild,v 1.3 2010/10/05 21:14:42 maekke Exp $
4
5 EAPI=3
6
7 inherit eutils toolchain-funcs
8
9 DESCRIPTION="minimal dumb-terminal emulation program"
10 HOMEPAGE="http://code.google.com/p/picocom/"
11 SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 ~ppc ~sparc x86 ~x86-fbsd"
16 IUSE=""
17
18 DEPEND=""
19
20 src_prepare() {
21 sed -i -e 's:\./picocom:picocom:' pcasc
22 }
23
24 src_compile() {
25 # CPPFLAGS is shared between CFLAGS and CXXFLAGS, but there is no
26 # C++ file, and the pre-processor is never called directly, this
27 # is easier than patching it out.
28 emake LDFLAGS="${LDFLAGS}" CFLAGS="${CFLAGS} ${CPPFLAGS} -Wall" \
29 CC="$(tc-getCC)" || die
30 }
31
32 src_install() {
33 dobin picocom pc{asc,xm,ym,zm} || die
34 doman picocom.8 || die
35 dohtml picocom.8.html || die
36 dodoc CHANGES CHANGES.old CONTRIBUTORS NEWS README TODO || die
37 }

  ViewVC Help
Powered by ViewVC 1.1.20