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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Jan 27 04:21:51 2015 UTC (5 years, 5 months ago) by radhermit
Branch: MAIN
CVS Tags: HEAD
Version bump.

(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
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 RESTRICT="test"
18
19 src_prepare() {
20 # respect CFLAGS
21 sed -i '/^override/d' Makefile || die
22 }
23
24 src_compile() {
25 append-cppflags -D_GNU_SOURCE
26 emake CC=$(tc-getCC) CFLAGS="${CFLAGS}"
27 }
28
29 src_install() {
30 emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
31 dodoc ChangeLog NOTES README.md
32 }

  ViewVC Help
Powered by ViewVC 1.1.20