summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Hallendal <hallski@gentoo.org>2001-11-10 12:19:00 +0000
committerMikael Hallendal <hallski@gentoo.org>2001-11-10 12:19:00 +0000
commit8b0de2854b90f275160eb5d068717f5e217739b1 (patch)
treef52504be46ffea88b90590fe18b64681c4777c52 /dev-tcltk
parentA=-fix, try->die, tab-fixes, stylefixes, ... (diff)
downloadgentoo-2-8b0de2854b90f275160eb5d068717f5e217739b1.tar.gz
gentoo-2-8b0de2854b90f275160eb5d068717f5e217739b1.tar.bz2
gentoo-2-8b0de2854b90f275160eb5d068717f5e217739b1.zip
A=-fix, try->die, tab-fixes, stylefixes, ...
Diffstat (limited to 'dev-tcltk')
-rw-r--r--dev-tcltk/itcl/itcl-3.2.ebuild30
1 files changed, 14 insertions, 16 deletions
diff --git a/dev-tcltk/itcl/itcl-3.2.ebuild b/dev-tcltk/itcl/itcl-3.2.ebuild
index b30638a51b20..ec35630cbb11 100644
--- a/dev-tcltk/itcl/itcl-3.2.ebuild
+++ b/dev-tcltk/itcl/itcl-3.2.ebuild
@@ -1,34 +1,32 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Your Name <your email>
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.2.ebuild,v 1.2 2001/08/11 04:45:10 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/itcl/itcl-3.2.ebuild,v 1.3 2001/11/10 12:19:00 hallski Exp $
-#P=
-A=itcl${PV}.tar.gz
S=${WORKDIR}/itcl${PV}
DESCRIPTION="Object Oriented Enhancements for Tcl/Tk"
-SRC_URI="http://dev.scriptics.com/ftp/itcl/${A}"
+SRC_URI="http://dev.scriptics.com/ftp/itcl/itcl${PV}.tar.gz"
HOMEPAGE="http://dev.scriptics.com/ftp/itcl/"
DEPEND=">=dev-lang/tcl-tk-8.4.2"
src_unpack() {
- unpack ${A}
- cd ${S}
- try patch -p1 < ${FILESDIR}/${PF}-gentoo.diff
+ unpack ${A}
+ cd ${S}
+ try patch -p1 < ${FILESDIR}/${PF}-gentoo.diff
}
src_compile() {
- try ./configure --prefix=/usr --host=${CHOST}
- try make CFLAGS_DEFAULT="${CFLAGS}"
+ ./configure --prefix=/usr --host=${CHOST} || die
+ make CFLAGS_DEFAULT="${CFLAGS}" || die
}
src_install () {
- try make prefix=${D}/usr install
- rm ${D}/usr/lib/iwidgets
- ln -s iwidgets3.0.1 ${D}/usr/lib/iwidgets
- dodoc CHANGES INCOMPATIBLE README TODO
- cd ${S}/doc ; docinto doc
- dodoc README
-}
+ make prefix=${D}/usr install || die
+ rm ${D}/usr/lib/iwidgets
+ ln -s iwidgets3.0.1 ${D}/usr/lib/iwidgets
+ dodoc CHANGES INCOMPATIBLE README TODO
+ cd ${S}/doc ; docinto doc
+ dodoc README
+}