/[gentoo-x86]/app-misc/away/away-0.9.5-r1.ebuild
Gentoo

Contents of /app-misc/away/away-0.9.5-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Sat Dec 6 18:50:46 2008 UTC (11 years, 11 months ago) by nixnut
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
Stable on ppc wrt bug 248842
(Portage version: 2.1.6_rc3/cvs/Linux 2.6.27-hardened-r2 ppc)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/app-misc/away/away-0.9.5-r1.ebuild,v 1.5 2008/12/02 23:08:23 ranger Exp $
4
5 inherit pam toolchain-funcs flag-o-matic
6
7 DESCRIPTION="Terminal locking program with few additional features"
8 HOMEPAGE="http://unbeatenpath.net/software/away/"
9 SRC_URI="http://unbeatenpath.net/software/away/${P}.tar.bz2"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 ppc ppc64 sparc x86"
14 IUSE=""
15
16 RDEPEND=">=sys-libs/pam-0.75"
17 DEPEND="${RDEPEND}"
18
19 src_unpack() {
20 unpack ${A}
21
22 sed -i -e '/-o \$(BINARY)/d' \
23 -e 's:LIBS:LDLIBS:' \
24 "${S}"/Makefile || die "Makefile fix failed"
25 }
26 src_compile() {
27 append-flags -pthread
28
29 emake CFLAGS="${CFLAGS}" CC="$(tc-getCC)" || die
30 }
31
32 src_install() {
33 dobin away || die "dobin failed"
34
35 pamd_mimic_system away auth
36
37 doman doc/*
38 dodoc BUGS AUTHORS NEWS README TODO data/awayrc || die "dodoc failed"
39 }

  ViewVC Help
Powered by ViewVC 1.1.20