Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380 - glide ebuild
Summary: glide ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest enhancement (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-28 03:23 UTC by Travis Tilley
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments
glide ebuild (glide-3.ebuild,1.45 KB, text/plain)
2002-01-28 03:24 UTC, Travis Tilley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Travis Tilley 2002-01-28 03:23:00 UTC
With this glide ebuild, two new USE variables are introduced. voodoo3 and
voodoo4. the voodoo4 variable also compiles support for the voodoo5... unlike
the last glide ebuild this one works. in order to make use of this, however,
there needs to be support in the x ebuild.

ebuild is as follows:

# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Maintainer: Travis Tilley <lordviram@nesit.org>

S=${WORKDIR}/${P}
DESCRIPTION="hardware support for the voodoo3"
SRC_URI="http://download.sourceforge.net/mirrors/slackware/slackware-8.0/contrib/contrib-sources/3dfx/vo
odoo3_banshee/glide_h3_dri-3.10/glide3x.tar.gz
       
http://download.sourceforge.net/mirrors/slackware/slackware-8.0/contrib/contrib-sources/3dfx/voo
doo3_banshee/glide_h3_dri-3.10/swlibs.tar.gz"
HOMEPAGE="http://glide.sourceforge.net/"

DEPEND=">=sys-devel/automake-1.4
        >=sys-devel/autoconf-2.13
        >=sys-devel/libtool-1.3.3
        >=sys-devel/m4-1.4
        >=sys-devel/perl-5.005"

PROVIDE="virtual/glide"

if [ "`use voodoo3`" ]; then
compilefor="h3"
fi
if [ "`use voodoo4`" ]; then
compilefor="h5"
fi
if [ "$compilefor" = "" ]; then
die
fi

src_compile() {
cd ${WORKDIR}
chmod +x swlibs/include/make/ostype
( cd ${WORKDIR}/glide3x ; ln -fs ${WORKDIR}/swlibs swlibs )
( cd ${WORKDIR}/glide3x/h3/minihwc ; ln -fs linhwc.c.dri linhwc.c )
( cd ${WORKDIR}/glide3x/h3/glide3/src ; ln -fs gglide.c.dri gglide.c \
        ln -fs gsst.c.dri gsst.c ; ln -fs glfb.c.dri glfb.c )
cd ${WORKDIR}/glide3x
libtoolize -f && aclocal && automake && autoconf
mkdir build
cd build
../configure --prefix=/usr --enable-fx-glide-hw=$compilefor --enable-fx-dri-build
./build.3dfx all | tee make.hst
}

src_install() {
cd ${WORKDIR}/glide3x/build
./build.3dfx DESTDIR=${D} install
}
Comment 1 Travis Tilley 2002-01-28 03:24:10 UTC
Created attachment 92 [details]
glide ebuild
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-01-30 14:52:36 UTC
Commited to Portage