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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Aug 18 18:57:21 2012 UTC (2 years, 1 month ago) by titanofold
Branch: MAIN
Add "X" USE flag dependency on imlib2. (Bug 427164)  Add patch to fix building with GCC 4.7. (Bug 426866)

(Portage version: 2.1.10.65/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     # $Header: /var/cvsroot/gentoo-x86/x11-misc/slimlock/slimlock-0.11.ebuild,v 1.2 2012/06/27 15:29:10 ssuominen Exp $
4    
5     EAPI=4
6    
7     inherit eutils toolchain-funcs
8    
9     DESCRIPTION="Screen locker borrowing the interface of the SLiM login-manager"
10     HOMEPAGE="http://joelburget.com/slimlock/"
11     SRC_URI="http://github.com/joelburget/slimlock/tarball/v${PV} -> ${P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15     KEYWORDS="~amd64 ~arm ~x86"
16     IUSE=""
17    
18     RDEPEND=">=media-libs/freetype-2
19     media-libs/imlib2[X,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_prepare() {
36     epatch "${FILESDIR}/${P}-gcc47.patch"
37     }
38    
39     src_compile() {
40     emake CC="$(tc-getCC)" \
41     CXX="$(tc-getCXX)" \
42     CFGDIR="${EPREFIX%/}/etc" \
43     MANDIR="${EPREFIX%/}/usr/share/man"
44     PREFIX="${EPREFIX%/}/usr"
45     }

  ViewVC Help
Powered by ViewVC 1.1.20