summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Houser <chouser@gentoo.org>2002-01-11 00:26:41 +0000
committerChris Houser <chouser@gentoo.org>2002-01-11 00:26:41 +0000
commit476834e102a0be53cef3c4d382703f98b3eddd65 (patch)
treee70b5f1ec7202ed96127df0f6be9fc8cce835671 /media-gfx/sketch
parentinstall headers required by media-gfx/sketch (diff)
downloadhistorical-476834e102a0be53cef3c4d382703f98b3eddd65.tar.gz
historical-476834e102a0be53cef3c4d382703f98b3eddd65.tar.bz2
historical-476834e102a0be53cef3c4d382703f98b3eddd65.zip
initial ebuild for media-gfx/sketch, version 0.6.12
Diffstat (limited to 'media-gfx/sketch')
-rw-r--r--media-gfx/sketch/files/digest-sketch-0.6.121
-rw-r--r--media-gfx/sketch/sketch-0.6.12.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/media-gfx/sketch/files/digest-sketch-0.6.12 b/media-gfx/sketch/files/digest-sketch-0.6.12
new file mode 100644
index 000000000000..5e4c3c791c19
--- /dev/null
+++ b/media-gfx/sketch/files/digest-sketch-0.6.12
@@ -0,0 +1 @@
+MD5 4803e2ce7e2bcd01896471b4a4ba5ed4 sketch-0.6.12.tar.gz 860160
diff --git a/media-gfx/sketch/sketch-0.6.12.ebuild b/media-gfx/sketch/sketch-0.6.12.ebuild
new file mode 100644
index 000000000000..0d7f17685941
--- /dev/null
+++ b/media-gfx/sketch/sketch-0.6.12.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Maintainer: Chouser <chouser@gentoo.com>
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/sketch/sketch-0.6.12.ebuild,v 1.1 2002/01/11 00:26:41 chouser Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="interactive X11 vector drawing program"
+SRC_URI="http://prdownloads.sourceforge.net/${PN}/${P}.tar.gz"
+HOMEPAGE="http://sketch.sourceforge.net/"
+
+DEPEND=">=dev-python/Imaging-1.1.2-r1
+ dev-lang/tcl-tk
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # patch setup to find more recent tcl/tk
+ # note that if this doesn't find a dynamic lib, sketch may fail to run with
+ # a X symbol error when loading paxtkinter
+ t=setup.py
+ cp $t $t.orig
+ sed 's/for version in [/for version in ["8.4",/' $t.orig > $t
+}
+
+src_compile() {
+ use nls && useopts="${useopts} --with-nls"
+ ./setup.py configure ${useopts} || die "setup.py configure failed"
+ ./setup.py build || die "setup.py build failed"
+}
+
+src_install () {
+ ./setup.py install --prefix=/usr --dest-dir=${D}
+ assert "setup.py install failed"
+
+ # docs
+ newdoc Pax/README README.pax
+ newdoc Pax/COPYING COPYING.pax
+ newdoc Filter/COPYING COPYING.filter
+ newdoc Filter/README README.filter
+ dodoc Examples Doc Misc
+ dodoc README INSTALL BUGS CREDITS COPYING TODO PROJECTS FAQ NEWS
+}