/[gentoo-x86]/app-misc/reptyr/reptyr-0.5.ebuild
Gentoo

Contents of /app-misc/reptyr/reptyr-0.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Sat Jul 27 22:23:43 2013 UTC (6 years, 11 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #477562

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

1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/reptyr/reptyr-0.5.ebuild,v 1.2 2013/07/21 13:08:00 ago Exp $
4
5 EAPI=4
6
7 inherit toolchain-funcs flag-o-matic vcs-snapshot
8
9 DESCRIPTION="A utility to attach a running program to a new terminal"
10 HOMEPAGE="https://github.com/nelhage/reptyr"
11 SRC_URI="https://github.com/nelhage/${PN}/archive/${P}.tar.gz"
12
13 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
16
17 src_prepare() {
18 # respect CFLAGS
19 sed -i '/^override/d' Makefile || die
20 }
21
22 src_compile() {
23 append-cppflags -D_GNU_SOURCE
24 emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
25 }
26
27 src_install() {
28 emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
29 dodoc ChangeLog NOTES README.md
30 }

  ViewVC Help
Powered by ViewVC 1.1.20