summaryrefslogtreecommitdiff
blob: e8f6b911e978e6a2bd7d66f42e8861346d4adc6c (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
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-themes/gtk-engines/gtk-engines-0.12-r2.ebuild,v 1.5 2002/10/22 15:45:01 bjb Exp $

S=${WORKDIR}/${P}
DESCRIPTION="gtk-engines"
SRC_URI="ftp://ftp.gnome.org/pub/GNOME/stable/sources/${PN}/${P}.tar.gz
	http://download.themes.org/gtk/Xenophilia-1.2.x.tar.gz"
HOMEPAGE="http://www.gnome.org/"

DEPEND="virtual/glibc virtual/x11
	>=media-libs/imlib-1.9.10-r1"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 alpha"

src_unpack() {
	unpack ${P}.tar.gz
	
	cd ${S}
	unpack Xenophilia-1.2.x.tar.gz
}

src_compile() {
	libtoolize --copy --force

	./configure --host=${CHOST} \
		--prefix=/usr || die
	
	make || die

	cd ${S}/Xenophilia-0.7
	make PREFIX=/usr \
		FONTDIR=/usr/X11R6/lib/X11/fonts/misc || die
}

src_install() {
	make prefix=${D}/usr install || die
	
	dodoc AUTHORS COPYING* ChangeLog README NEWS
	
	cd Xenophilia-0.7
	make PREFIX=${D}/usr \
		FONTDIR=/usr/X11R6/lib/X11/fonts/misc \
		install || die
		
	dodoc AUTHORS  CONFIGURATION TODO COPYING* ChangeLog README 
}