/[gentoo-x86]/x11-misc/slimlock/slimlock-0.11.ebuild
Gentoo

Contents of /x11-misc/slimlock/slimlock-0.11.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Wed Jun 27 15:29:10 2012 UTC (2 years, 2 months ago) by ssuominen
Branch: MAIN
Changes since 1.1: +6 -6 lines
Fix quoting, and freetype dep

(Portage version: 2.2.0_alpha113/cvs/Linux x86_64)

1 titanofold 1.1 # Copyright 1999-2012 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 ssuominen 1.2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/slimlock/slimlock-0.11.ebuild,v 1.1 2012/06/27 14:22:51 titanofold Exp $
4 titanofold 1.1
5 ssuominen 1.2 EAPI=4
6 titanofold 1.1
7     inherit toolchain-funcs
8    
9     DESCRIPTION="Screen locker borrowing the interface of the SLiM login-manager"
10     HOMEPAGE="http://joelburget.com/slimlock/"
11 ssuominen 1.2 SRC_URI="http://github.com/joelburget/slimlock/tarball/v${PV} -> ${P}.tar.gz"
12 titanofold 1.1
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~arm ~x86"
16     IUSE=""
17    
18 ssuominen 1.2 RDEPEND=">=media-libs/freetype-2
19 titanofold 1.1 media-libs/imlib2[png,jpeg]
20     virtual/pam
21     x11-libs/libX11
22     x11-libs/libXext
23     x11-libs/libXft
24     x11-misc/slim[pam]
25     "
26     DEPEND="${RDEPEND}"
27    
28     src_unpack() {
29     unpack ${A}
30    
31     # GitHub tarballs the package under a randomly named TLD.
32     mv * ${P}
33     }
34    
35     src_compile() {
36 ssuominen 1.2 emake CC="$(tc-getCC)" \
37     CXX="$(tc-getCXX)" \
38 titanofold 1.1 CFGDIR="${EPREFIX%/}/etc" \
39     MANDIR="${EPREFIX%/}/usr/share/man"
40     PREFIX="${EPREFIX%/}/usr"
41     }

  ViewVC Help
Powered by ViewVC 1.1.20