diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-08-03 02:27:17 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-08-03 02:27:17 +0000 |
commit | 04665107fb399e48f95f9f9e1f81ae3c24b89573 (patch) | |
tree | 04ce44ebb134e4c978c1900760c4964c9e2a37bc /dev-libs/zthread | |
parent | touchups (diff) | |
download | gentoo-2-04665107fb399e48f95f9f9e1f81ae3c24b89573.tar.gz gentoo-2-04665107fb399e48f95f9f9e1f81ae3c24b89573.tar.bz2 gentoo-2-04665107fb399e48f95f9f9e1f81ae3c24b89573.zip |
DEBUGBUILD -> use debug
Diffstat (limited to 'dev-libs/zthread')
-rw-r--r-- | dev-libs/zthread/zthread-1.5.3.ebuild | 26 | ||||
-rw-r--r-- | dev-libs/zthread/zthread-2.2.10-r1.ebuild | 13 |
2 files changed, 17 insertions, 22 deletions
diff --git a/dev-libs/zthread/zthread-1.5.3.ebuild b/dev-libs/zthread/zthread-1.5.3.ebuild index 3187346b3834..295f0451c4f2 100644 --- a/dev-libs/zthread/zthread-1.5.3.ebuild +++ b/dev-libs/zthread/zthread-1.5.3.ebuild @@ -1,34 +1,30 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/zthread/zthread-1.5.3.ebuild,v 1.10 2003/02/13 10:52:20 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/zthread/zthread-1.5.3.ebuild,v 1.11 2003/08/03 02:27:17 vapier Exp $ -S=${WORKDIR}/ZThread-${PV} - -DESCRIPTION="A Platform-Independent Object-Oriented Threading Architecture" -SRC_URI="mirror://sourceforge/zthread/ZThread-${PV}.tar.gz" +DESCRIPTION="platform-independent object-oriented threading architecture" HOMEPAGE="http://www.cs.buffalo.edu/~crahen/projects/zthread/" +SRC_URI="mirror://sourceforge/zthread/ZThread-${PV}.tar.gz" -SLOT="0" LICENSE="GPL-2" -KEYWORDS="x86 sparc " +SLOT="0" +KEYWORDS="x86 sparc" DEPEND="virtual/glibc" +S=${WORKDIR}/ZThread-${PV} + src_compile() { local myconf - if [ "${DEBUG}" ] - then - myconf="--enable-debug=yes" - else - myconf="--enable-debug=no" - fi - + [ `use debug` ] \ + && myconf="--enable-debug=yes" + || myconf="--enable-debug=no" econf ${myconf} || die "./configure failed" emake || die } -src_install () { +src_install() { einstall || die dodoc AUTHORS ChangeLog COPYING README* INSTALL NEWS TODO THANK.YOU } diff --git a/dev-libs/zthread/zthread-2.2.10-r1.ebuild b/dev-libs/zthread/zthread-2.2.10-r1.ebuild index 0cd638ef498f..18df2b3d92bb 100644 --- a/dev-libs/zthread/zthread-2.2.10-r1.ebuild +++ b/dev-libs/zthread/zthread-2.2.10-r1.ebuild @@ -1,23 +1,22 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/zthread/zthread-2.2.10-r1.ebuild,v 1.2 2003/07/12 09:22:23 aliz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/zthread/zthread-2.2.10-r1.ebuild,v 1.3 2003/08/03 02:27:17 vapier Exp $ -DESCRIPTION="A Platform-Independent Object-Oriented Threading Architecture" -SRC_URI="mirror://sourceforge/zthread/ZThread-${PV}.tar.gz" +DESCRIPTION="a platform-independent object-oriented threading architecture" HOMEPAGE="http://www.cs.buffalo.edu/~crahen/projects/zthread/" +SRC_URI="mirror://sourceforge/zthread/ZThread-${PV}.tar.gz" -SLOT="0" LICENSE="GPL-2" +SLOT="0" KEYWORDS="x86 ~sparc ~ppc ~alpha ~mips ~hppa" -IUSE="" DEPEND="virtual/glibc" S=${WORKDIR}/ZThread-${PV} src_compile() { - local myconf="--with-gnu-ld" - [ "${DEBUGBUILD}" ] \ + local myconf="" + use debug \ && myconf="--enable-debug=yes" \ || myconf="--enable-debug=no" |