summaryrefslogtreecommitdiffstats
path: root/x11-themes/ds-engines/ds-engines-1.0-r2.ebuild
blob: a155e1476c9466705b1760087d54bc463ea8868b (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
57
58
59
60
61
62
63
64
65
66
67
# 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

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
	
	rm ltmain.sh
	rm Makefile.in
	rm Makefile

	libtoolize --copy
	
	aclocal-1.11
	autoheader-1.11
	automake-1.11 --add-missing --copy
	automake-1.11
	autoconf
}

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
}