Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 83

Summary: ZThread ebuild
Product: Gentoo Linux Reporter: Charles Kerr <punt>
Component: [OLD] DevelopmentAssignee: Geert Bevin <gbevin>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD
Priority: High    
Version: 1.0 RC6 r14   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Charles Kerr 2002-01-08 12:14:03 UTC
An ebuild for the ZThread development library, recommend location is dev-lib.
Comment 1 Charles Kerr 2002-01-08 12:22:08 UTC
Since I can not seem to get attaching a file to work, here it is in text:
File name:  ZThread-1.5.3.ebuild


# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Charles Kerr <charles@kerrskorner.org>
# /space/gentoo/cvsroot/gentoo-x86/skel.build,v 1.11 2001/12/06 22:12:34
drobbins Exp

S=${WORKDIR}/${P}

DESCRIPTION="A Platform-Independent Object-Oriented Threading Architecture"
SRC_URI="http://prdownloads.sourceforge.net/zthread/${P}.tar.gz"
HOMEPAGE="http://www.cs.buffalo.edu/~crahen/projects/zthread/"

DEPEND=""

#RDEPEND=""

src_compile() {
        local myconf
        if [ "${DEBUG}" ]
        then
                myconf="--enable-debug=yes"
        else
                myconf="--enable-debug=no"
        fi

        ./configure \
                --host=${CHOST} \
                --prefix=/usr \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man || \
                ${myconf} die "./configure failed"

        emake || die
}

src_install () {
        make DESTDIR=${D} install || die
        dodoc AUTHORS ChangeLog COPYING README* INSTALL NEWS TODO THANK.YOU
}
Comment 2 Geert Bevin 2002-01-08 17:41:23 UTC
Verified, fixed problems and sandbox violations, add to dev-libs