blob: bbcf9d6a0ad954daad74c99bf5e13154f0c4797b (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/subterfugue/subterfugue-0.2-r1.ebuild,v 1.9 2002/10/05 05:39:25 drobbins Exp $
IUSE="gtk"
S=${WORKDIR}/${P}
DESCRIPTION="strace meets expect"
SRC_URI="mirror://sourceforge/subterfugue/subterfugue-0.2.tgz"
HOMEPAGE="http://www.subterfugue.org"
KEYWORDS="x86 -ppc"
SLOT="0"
LICENSE="GPL-2"
DEPEND=">=dev-lang/python-2.0
gtk? ( =x11-libs/gtk+-1.2* )"
src_unpack() {
unpack ${P}.tgz
cd ${S}
cp Makefile Makefile.orig
sed "s/python1.5/python2.0/" < Makefile.orig > Makefile
}
src_compile() {
# breaks down with emake
make || die
cp dsf dsf.orig
sed -e "s:SUBTERFUGUE_ROOT=.*:SUBTERFUGUE_ROOT=/usr/share/subterfuge/:" \
< dsf.orig > sf
}
src_install () {
into /usr
dobin sf
dodoc COPYING CREDITS GNU-entry INSTALL INTERNALS NEWS README TODO
doman doc/sf.1
SH=/usr/share/subterfuge
exeinto ${SH}
doexe *.{py,pyc}
exeinto ${SH}/tricks
doexe tricks/*.{py,pyc}
exeinto ${SH}/modules
doexe modules/*.so
}
|