summaryrefslogtreecommitdiffstats
path: root/x11-themes/ds-engines/ds-engines-1.0.ebuild
blob: 45d2aeb155c7b0161a56170eb1ba9dca8f60b1f7 (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
52
53
54
55
56
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 

inherit eutils

DESCRIPTION="GTK Engines"
HOMEPAGE="http://www.windowmaker.org/"

THEME_URI="http://dside.dyndns.org/files/darklin/themes"
SRC_URI="${THEME_URI}/eazel-engine-0.3.tar.bz2
	${THEME_URI}/Wonderland1-0.47.tar.bz2"

#	${THEME_URI}/ThinIce.tar.bz2
#	=gnome-base/control-center-1.4*

DEPEND="media-libs/gdk-pixbuf
	=gnome-base/libglade-0*"
    
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ppc sparc x86"

src_unpack() {
	mkdir ${S}
	cd ${S}
	for i in ${SRC_URI} ; do
		bn=`basename $i`
		unpack ${bn}
	done

	cd eazel-engine-0.3 || die
	epatch ${FILESDIR}/eazel-engine-0.3-disablecapplet.patch.bz2 || die
	epatch ${FILESDIR}/eazel-engine-0.3-gcc3.4.patch.bz2 || die
}

src_compile() {
    cd ${S}
    
    for name in *; do
	cd $name || die
	econf || die
	emake || die
	cd ..
    done
}

src_install () {
    cd ${S}
    
    for name in *; do
	cd $name || die
	emake install DESTDIR=${D} || die
	cd ..
    done
}