/[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 - (show annotations) (download)
Wed Jul 13 19:49:48 2011 UTC (3 years, 1 month 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 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-misc/alock/alock-94.ebuild,v 1.5 2011/06/18 14:13:46 hwoarang Exp $
4
5 EAPI=2
6 inherit eutils toolchain-funcs
7
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 LICENSE="MIT"
14 SLOT="0"
15 KEYWORDS="amd64 ppc x86"
16 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 S=${WORKDIR}/${PN}-svn-${PV}
27
28 src_prepare() {
29 epatch "${FILESDIR}"/implicit_pointer_conversion_fix_amd64.patch
30 }
31
32 src_configure() {
33 tc-export CC
34
35 ./configure \
36 --prefix=/usr \
37 --with-all \
38 $(use_with pam) \
39 $(use_with imlib imlib2) || die
40 }
41
42 src_compile() {
43 emake XMLTO=true || die
44 }
45
46 src_install() {
47 dobin src/alock || die
48 doman alock.1 || die
49 dodoc {CHANGELOG,README,TODO}.txt || die
50
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 fperms 4755 /usr/bin/alock
59 fi
60 }

  ViewVC Help
Powered by ViewVC 1.1.20