blob: 02ca8c1c292399473a9226a8c984e71279975717 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fspanel/fspanel-0.8_beta1-r4.ebuild,v 1.1 2010/06/18 15:02:37 ssuominen Exp $
EAPI=2
inherit eutils toolchain-funcs
MY_P=${P/_}
DESCRIPTION="F***ing Small Panel. Good (and small) replacement for gnome-panel"
HOMEPAGE="http://www.chatjunkies.org/fspanel"
SRC_URI="http://www.chatjunkies.org/fspanel/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="xft xpm"
RDEPEND="x11-libs/libX11
xpm? ( x11-libs/libXpm )
xft? ( x11-libs/libXft )"
DEPEND="${RDEPEND}
dev-util/pkgconfig
x11-proto/xproto"
S=${WORKDIR}/${MY_P}
src_prepare() {
epatch "${FILESDIR}"/${P}-configure.patch \
"${FILESDIR}"/${P}-workspace.patch
}
myuse() {
use $1 && echo yes || echo no
}
src_configure() {
tc-export CC
export USE_XFT=$(myuse xft)
export USE_XPM=$(myuse xpm)
./configure || die
}
src_install() {
dobin fspanel || die
dodoc README
}
|