Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbdesk/fbdesk-1.4.1.ebuild,v 1.8 2008/09/22 13:26:52 omp Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/x11-misc/fbdesk/fbdesk-1.4.1.ebuild,v 1.8 2008/09/22 13:26:52 omp Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="2" |
6 |
|
5 |
inherit eutils |
7 |
inherit eutils |
6 |
|
8 |
|
7 |
DESCRIPTION="fluxbox-util application that creates and manage icons on your Fluxbox desktop" |
9 |
DESCRIPTION="fluxbox-util application that creates and manage icons on your Fluxbox desktop" |
Lines 11-41
SRC_URI="http://www.fluxbox.org/download
Link Here
|
11 |
LICENSE="MIT" |
13 |
LICENSE="MIT" |
12 |
SLOT="0" |
14 |
SLOT="0" |
13 |
KEYWORDS="amd64 ia64 ppc sparc x86" |
15 |
KEYWORDS="amd64 ia64 ppc sparc x86" |
14 |
IUSE="debug png" |
16 |
IUSE="debug imlib png xft xrender xshape xmb " |
15 |
|
17 |
|
16 |
RDEPEND="png? ( media-libs/libpng ) |
18 |
RDEPEND="png? ( media-libs/libpng ) |
17 |
media-libs/imlib2 |
19 |
imlib? ( media-libs/imlib2[X] ) |
18 |
x11-libs/libXpm |
20 |
xrender? ( x11-libs/libXrender ) |
19 |
x11-libs/libXft" |
21 |
xft? ( x11-libs/libXft ) |
20 |
DEPEND="${RDEPEND} |
22 |
xshape? ( x11-libs/libXext ) |
21 |
x11-proto/xextproto" |
23 |
x11-libs/libXpm" |
22 |
|
24 |
DEPEND="${RDEPEND}" |
23 |
src_unpack() { |
|
|
24 |
unpack ${A} |
25 |
cd "${S}" |
26 |
|
25 |
|
|
|
26 |
src_prepare() { |
27 |
epatch "${FILESDIR}/${P}-gcc-4.3.patch" |
27 |
epatch "${FILESDIR}/${P}-gcc-4.3.patch" |
28 |
} |
28 |
} |
29 |
|
29 |
|
30 |
src_compile() { |
30 |
src_configure() { |
31 |
econf \ |
31 |
econf \ |
32 |
$(use_enable debug) \ |
32 |
$(use_enable debug) \ |
33 |
$(use_enable png) || die "econf failed" |
33 |
$(use_enable imlib imlib2) \ |
34 |
|
34 |
$(use_enable png) \ |
35 |
emake || die "emake failed" |
35 |
$(use_enable xft) \ |
|
|
36 |
$(use_enable xrender) \ |
37 |
$(use_enable xshape shape) \ |
38 |
$(use_enable xmb) |
36 |
} |
39 |
} |
37 |
|
40 |
|
38 |
src_install() { |
41 |
src_install() { |
39 |
emake DESTDIR="${D}" install || die "install failed" |
42 |
emake DESTDIR="${D}" install || die "install failed" |
40 |
dodoc AUTHORS ChangeLog README |
43 |
dodoc AUTHORS ChangeLog README || die "dodoc failed" |
41 |
} |
44 |
} |