blob: b68563ea92a169646f1efed9907b40f6b056e10a (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/Tk_Theme/Tk_Theme-23.ebuild,v 1.12 2007/01/02 15:40:51 masterdriverz Exp $
DESCRIPTION="Theming library for TCL/TK."
HOMEPAGE="http://www.xmission.com/~georgeps/Tk_Theme/"
SRC_URI="http://www.xmission.com/~georgeps/Tk_Theme/${P}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="x86"
IUSE=""
RDEPEND="dev-lang/tcl
dev-lang/tk
|| ( ( x11-libs/libXmu
x11-libs/libXpm
x11-libs/libXt )
virtual/x11 )"
DEPEND="$RDEPEND
|| ( x11-proto/xextproto virtual/x11 )"
src_compile() {
tclsh configure || die 'configure failed'
emake || die 'emake failed'
}
src_install() {
local libdir=/usr/lib/Tk_Theme
insinto ${libdir}
doins *.tcl
exeinto ${libdir}
doexe theme.so
dodoc Changes LICENSE README TODO
}
|