/[gentoo-x86]/x11-misc/alock/alock-94.ebuild
Gentoo

Contents of /x11-misc/alock/alock-94.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (hide annotations) (download)
Wed Jul 13 19:49:48 2011 UTC (3 years, 5 months ago) by maekke
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
x86 stable, bug #371979

(Portage version: 2.1.10.4/cvs/Linux x86_64)

1 xmw 1.4 # Copyright 1999-2011 Gentoo Foundation
2 hwoarang 1.1 # Distributed under the terms of the GNU General Public License v2
3 maekke 1.6 # $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/alock-94.ebuild,v 1.5 2011/06/18 14:13:46 hwoarang Exp $
4 hwoarang 1.1
5 ssuominen 1.3 EAPI=2
6     inherit eutils toolchain-funcs
7 hwoarang 1.1
8     DESCRIPTION="locks the local X display until a password is entered"
9     HOMEPAGE="http://code.google.com/p/alock/
10     http://darkshed.net/projects/alock"
11     SRC_URI="http://alock.googlecode.com/files/alock-svn-${PV}.tar.bz2"
12    
13 ssuominen 1.3 LICENSE="MIT"
14 hwoarang 1.1 SLOT="0"
15 maekke 1.6 KEYWORDS="amd64 ppc x86"
16 hwoarang 1.1 IUSE="imlib pam"
17    
18     DEPEND="x11-libs/libX11
19     x11-libs/libXext
20     x11-libs/libXpm
21     x11-libs/libXrender
22     x11-libs/libXcursor
23     imlib? ( media-libs/imlib2[X] )
24     pam? ( virtual/pam )"
25    
26 ssuominen 1.3 S=${WORKDIR}/${PN}-svn-${PV}
27 hwoarang 1.1
28     src_prepare() {
29     epatch "${FILESDIR}"/implicit_pointer_conversion_fix_amd64.patch
30     }
31    
32     src_configure() {
33 ssuominen 1.3 tc-export CC
34    
35     ./configure \
36     --prefix=/usr \
37     --with-all \
38 hwoarang 1.1 $(use_with pam) \
39 ssuominen 1.3 $(use_with imlib imlib2) || die
40     }
41    
42     src_compile() {
43     emake XMLTO=true || die
44 hwoarang 1.1 }
45    
46     src_install() {
47     dobin src/alock || die
48     doman alock.1 || die
49 ssuominen 1.3 dodoc {CHANGELOG,README,TODO}.txt || die
50 hwoarang 1.1
51     insinto /usr/share/alock/xcursors
52     doins contrib/xcursor-* || die
53    
54     insinto /usr/share/alock/bitmaps
55     doins bitmaps/* || die
56    
57     if ! use pam; then
58 ssuominen 1.3 fperms 4755 /usr/bin/alock
59 hwoarang 1.1 fi
60     }

  ViewVC Help
Powered by ViewVC 1.1.20