Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83 - ZThread ebuild
Summary: ZThread ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Geert Bevin
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2002-01-08 12:14 UTC by Charles Kerr
Modified: 2002-01-08 17:47 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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