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

Bug 853

Summary: Updated QStat Build
Product: Gentoo Linux Reporter: Michael S Costello (MiscRat) <fraterm>
Component: [OLD] GamesAssignee: Bart Verwilst <bart>
Status: VERIFIED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 854    

Description Michael S Costello (MiscRat) 2002-02-25 21:13:22 UTC
the default .ebuild for qstat does not function
qstat has no ./configure ; make installation procedure...
on linux to install it one merely types make linux
it goes and creates the binary for you and everything else
in the ebuild performs properly.

qstat 24e is smaller and md5 summed properly (tested the build myself)
so, without further blathering:

ebuild:

# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Ben Lutgens <blutgens@gentoo.org>
# Modified by Michael Costello <fraterm@io.com>

S=${WORKDIR}/qstat24e
DESCRIPTION="Server statics collector supporting many FPS games"
SRC_URI="http://www.qstat.org/qstat24e.tar.gz"
HOMEPAGE="http://www.qstat.org"
SLOT="0"
DEPEND="virtual/glibc"

src_unpack() {

        unpack qstat24e.tar.gz
}

src_compile() {

#   ./configure --prefix=/usr --host=${CHOST} || die
    make CC=gcc linux || die

}

src_install () {

        dobin qstat
        into /usr/bin
        dosym /usr/bin/qstat /usr/bin/quakestat
        dodoc CHANGES.txt COMPILE.txt
        docinto html
        dodoc qstatdoc.html

}


files/digest-qstat-24e:
MD5 425c69b5a96d9f6dc475dfe49b5ae8ef qstat24e.tar.gz 96558
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-15 01:02:36 UTC
the src_unpack() function can be removed.  Try using "emake" instead of "make"
in src_compile() and if it doesn't work for some reason then add a comment. 
Otherwise leave it in.
Comment 2 Bart Verwilst 2002-05-14 09:51:10 UTC
Already in Portage