summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/tkXwin')
-rw-r--r--dev-tcltk/tkXwin/tkXwin-1.0.ebuild27
1 files changed, 10 insertions, 17 deletions
diff --git a/dev-tcltk/tkXwin/tkXwin-1.0.ebuild b/dev-tcltk/tkXwin/tkXwin-1.0.ebuild
index ba62d4295a71..8a7bc0bbba01 100644
--- a/dev-tcltk/tkXwin/tkXwin-1.0.ebuild
+++ b/dev-tcltk/tkXwin/tkXwin-1.0.ebuild
@@ -1,39 +1,32 @@
-# Copyright 2003 Arcady Genkin <agenkin@gentoo.org>.
-# Distributed under the terms of the GNU General Public License v2.
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkXwin/tkXwin-1.0.ebuild,v 1.3 2003/03/02 03:31:07 agenkin Exp $
+# Copyright 2003 Arcady Genkin <agenkin@gentoo.org>
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tkXwin/tkXwin-1.0.ebuild,v 1.4 2003/08/07 03:26:29 vapier Exp $
+
+inherit eutils
DESCRIPTION="Tcl/Tk library to detect idle periods of an X session."
HOMEPAGE="http://beepcore-tcl.sourceforge.net/"
-
-DEPEND=">=dev-lang/tcl-8.3.3
- >=dev-lang/tk-8.3.3"
+SRC_URI="http://beepcore-tcl.sourceforge.net/${P}.tgz"
LICENSE="BSD"
+SLOT="0"
KEYWORDS="x86"
-SLOT="0"
-SRC_URI="http://beepcore-tcl.sourceforge.net/${P}.tgz"
-S=${WORKDIR}/${P}
+DEPEND=">=dev-lang/tcl-8.3.3
+ >=dev-lang/tk-8.3.3"
src_unpack() {
-
unpack ${A}
cd ${S}
-
- patch -p 0 < ${FILESDIR}/${PV}-Makefile.in.diff || die
-
+ epatch ${FILESDIR}/${PV}-Makefile.in.diff
}
src_compile() {
-
econf --with-tcl=/usr/lib --with-tk=/usr/lib || die
make || die
-
}
src_install() {
-
make DESTDIR=${D} install || die
dodoc AUTHORS INSTALL README
-
}