summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2001-09-25 16:00:47 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2001-09-25 16:00:47 +0000
commit78eb6df81a08c18aac34bb87b6a6b6904c80fb0b (patch)
treef2225435f17172974a6377aff907a6e4348a97e8 /sys-apps/subterfugue
parentcool little c program that calculates the different subnetmask notations. (diff)
downloadgentoo-2-78eb6df81a08c18aac34bb87b6a6b6904c80fb0b.tar.gz
gentoo-2-78eb6df81a08c18aac34bb87b6a6b6904c80fb0b.tar.bz2
gentoo-2-78eb6df81a08c18aac34bb87b6a6b6904c80fb0b.zip
Subterfuge is a very jazzed up strace
Diffstat (limited to 'sys-apps/subterfugue')
-rw-r--r--sys-apps/subterfugue/files/digest-subterfugue-0.21
-rw-r--r--sys-apps/subterfugue/subterfugue-0.2.ebuild60
2 files changed, 61 insertions, 0 deletions
diff --git a/sys-apps/subterfugue/files/digest-subterfugue-0.2 b/sys-apps/subterfugue/files/digest-subterfugue-0.2
new file mode 100644
index 000000000000..c2b874a49db0
--- /dev/null
+++ b/sys-apps/subterfugue/files/digest-subterfugue-0.2
@@ -0,0 +1 @@
+MD5 4dd19fb028769432269e19480c4aea2c subterfugue-0.2.tgz
diff --git a/sys-apps/subterfugue/subterfugue-0.2.ebuild b/sys-apps/subterfugue/subterfugue-0.2.ebuild
new file mode 100644
index 000000000000..055a02731bd9
--- /dev/null
+++ b/sys-apps/subterfugue/subterfugue-0.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/subterfugue/subterfugue-0.2.ebuild,v 1.1 2001/09/25 16:00:47 karltk Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="strace meets expect"
+
+SRC_URI="http://prdownloads.sourceforge.net/subterfugue/subterfugue-0.2.tgz"
+
+HOMEPAGE="http://www.subterfugue.org"
+
+DEPEND=">=dev-lang/python-2.0
+ gtk? ( >=x11-libs/gtk+-1.2.8 )"
+
+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
+
+}
+