summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArcady Genkin <agenkin@gentoo.org>2003-02-02 04:04:45 +0000
committerArcady Genkin <agenkin@gentoo.org>2003-02-02 04:04:45 +0000
commitb3ee589712f0d54fe27af154203b4e4d222c9a01 (patch)
tree2e295840f156b719ef3bb3b523056033d8528ae1 /dev-tcltk/tclgpgme
parentchange .18 to stable for ppc (fixes #14776) (diff)
downloadgentoo-2-b3ee589712f0d54fe27af154203b4e4d222c9a01.tar.gz
gentoo-2-b3ee589712f0d54fe27af154203b4e4d222c9a01.tar.bz2
gentoo-2-b3ee589712f0d54fe27af154203b4e4d222c9a01.zip
Initial version of the ebuild.
Diffstat (limited to 'dev-tcltk/tclgpgme')
-rw-r--r--dev-tcltk/tclgpgme/ChangeLog8
-rw-r--r--dev-tcltk/tclgpgme/files/1.0-Makefile.in.diff21
-rw-r--r--dev-tcltk/tclgpgme/files/digest-tclgpgme-1.01
-rw-r--r--dev-tcltk/tclgpgme/tclgpgme-1.0.ebuild40
4 files changed, 70 insertions, 0 deletions
diff --git a/dev-tcltk/tclgpgme/ChangeLog b/dev-tcltk/tclgpgme/ChangeLog
new file mode 100644
index 000000000000..9f9a00e64ffd
--- /dev/null
+++ b/dev-tcltk/tclgpgme/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-tcltk/tclgpgme
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/tclgpgme/ChangeLog,v 1.1 2003/02/02 04:04:45 agenkin Exp $
+
+*tclgpgme-1.0 (01 Feb 2003)
+
+ 01 Feb 2003; Arcady Genkin <agenkin@gentoo.org> :
+ Initial version of the package.
diff --git a/dev-tcltk/tclgpgme/files/1.0-Makefile.in.diff b/dev-tcltk/tclgpgme/files/1.0-Makefile.in.diff
new file mode 100644
index 000000000000..0738c46e2ec3
--- /dev/null
+++ b/dev-tcltk/tclgpgme/files/1.0-Makefile.in.diff
@@ -0,0 +1,21 @@
+--- Makefile.in.orig 2003-02-01 22:43:30.000000000 -0500
++++ Makefile.in 2003-02-01 22:44:46.000000000 -0500
+@@ -429,14 +429,14 @@
+
+
+ install-exec-hook:
+- $(mkinstalldirs) @PKG_TCL@
++ $(mkinstalldirs) $(DESTDIR)@PKG_TCL@
+ echo "package ifneeded gpgme" \
+ `echo $(VERSION) | awk -F. '{ printf "%s.%s", $$1, $$2 }'` \
+- "[list load $(DESTDIR)$(libdir)/libtclgpgme.so]" \
+- > @PKG_TCL@/pkgIndex.tcl
++ "[list load $(libdir)/libtclgpgme.so]" \
++ > $(DESTDIR)@PKG_TCL@/pkgIndex.tcl
+ sed -e 's%load .libs/libtclgpgme.so%package require gpgme%' \
+ < test.tcl \
+- > @PKG_TCL@/test.tcl
++ > $(DESTDIR)@PKG_TCL@/test.tcl
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
diff --git a/dev-tcltk/tclgpgme/files/digest-tclgpgme-1.0 b/dev-tcltk/tclgpgme/files/digest-tclgpgme-1.0
new file mode 100644
index 000000000000..8f4f13fc9c24
--- /dev/null
+++ b/dev-tcltk/tclgpgme/files/digest-tclgpgme-1.0
@@ -0,0 +1 @@
+MD5 a718a6ee2ac65e79437c5d09a7382ce8 tclgpgme-1.0.tgz 188026
diff --git a/dev-tcltk/tclgpgme/tclgpgme-1.0.ebuild b/dev-tcltk/tclgpgme/tclgpgme-1.0.ebuild
new file mode 100644
index 000000000000..b2041d287cf2
--- /dev/null
+++ b/dev-tcltk/tclgpgme/tclgpgme-1.0.ebuild
@@ -0,0 +1,40 @@
+# 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/tclgpgme/tclgpgme-1.0.ebuild,v 1.1 2003/02/02 04:04:45 agenkin Exp $
+
+DESCRIPTION="Tcl/Tk libraries to gpgme."
+HOMEPAGE="http://beepcore-tcl.sourceforge.net/"
+
+DEPEND=">=dev-lang/tcl-8.3.3
+ >=dev-lang/tk-8.3.3
+ >=app-crypt/gpgme-0.3.14"
+
+LICENSE="BSD"
+KEYWORDS="~x86"
+
+SLOT="0"
+SRC_URI="http://beepcore-tcl.sourceforge.net/${P}.tgz"
+S=${WORKDIR}/${P}
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+
+ patch -p 0 < ${FILESDIR}/${PV}-Makefile.in.diff || die
+
+}
+
+src_compile() {
+
+ econf --with-tcl=/usr/lib --with-tk=/usr/lib || die
+ make || die
+
+}
+
+src_install() {
+
+ make DESTDIR=${D} install || die
+ dodoc AUTHORS ChangeLog INSTALL LICENSE README TODO
+
+}