blob: 2b693febc36767170aac1552f5647b8bc13afe34 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/ipager/ipager-1.1.0.ebuild,v 1.3 2008/09/09 03:58:16 robbat2 Exp $
inherit eutils
DESCRIPTION="A themable desktop pager for fluxbox and other window managers"
HOMEPAGE="http://www.useperl.ru/ipager/index.en.html"
SRC_URI="http://www.useperl.ru/ipager/src/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="xinerama"
RDEPEND="media-libs/imlib2
x11-libs/libXmu
xinerama? ( x11-libs/libXinerama )"
DEPEND="dev-util/scons
${RDEPEND}"
src_unpack() {
unpack ${A}
cd "${S}"
epatch "${FILESDIR}"/${P}-scons_imlib2.patch
epatch "${FILESDIR}"/${P}-gcc43.patch
epatch "${FILESDIR}"/${P}-scons_flags.patch
}
src_compile() {
CONFIG_OPTS="xinerama=false"
use xinerama && CONFIG_OPTS="${CONFIG_OPTS} xinerama=true"
# FYI: Passing debug=true only adds -ggdb inside the SConstruct
scons \
--cache-disable \
PREFIX="/usr" \
${CONFIG_OPTS} \
|| die "scons configure failed"
}
src_install() {
scons \
--cache-disable \
PREFIX="/usr" \
DESTDIR="${D}" \
install \
|| die "scons install failed"
dodoc ToDo ChangeLog README
dodoc themes/*.conf
}
|