Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Old version of Crossfire in Portage?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gamers & Players
View previous topic :: View next topic  
Author Message
Kruuse
n00b
n00b


Joined: 29 Aug 2002
Posts: 15
Location: Denmark

PostPosted: Mon Sep 23, 2002 7:45 pm    Post subject: Old version of Crossfire in Portage? Reply with quote

I have been advised by some friends to try out Crossfire. The current ebuild is:
Code:
app-games/crossfire-client
Latest version available: 1.2.1
Latest version installed: [ Not Installed ]
Homepage: http://crossfire.real-time.com/
Description: Client for the nethack-style but more in the line of UO

On the homepage they have a server part as well and both client and server are up to v. 1.4.0.

Are there any plans to update the ebuild or should I just go for the official tarball?

Cheers,
Jens
Back to top
View user's profile Send private message
jdm
n00b
n00b


Joined: 14 Nov 2002
Posts: 9

PostPosted: Sat Nov 16, 2002 6:17 am    Post subject: Reply with quote

I know this topic is two months old but heres the ebuild I hacked, I just simply changed the version numbers and everything works fine:


Code:


# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/app-games/crossfire-client/crossfire-client-1.4.0.ebuild,v 1.7 2002/11/16 13:55:51 vapier Exp $

IUSE="sdl gtk alsa"

S=${WORKDIR}/crossfire-client-1.4.0

DESCRIPTION="Client for the nethack-style but more in the line of UO"

SRC_URI="mirror://sourceforge/crossfire/${P}.tar.gz"

HOMEPAGE="http://crossfire.real-time.com/"
KEYWORDS="x86"
SLOT="0"

LICENSE="GPL-2"

DEPEND="x11-base/xfree
        media-libs/xpm
        sdl? ( media-libs/libsdl
                x11-libs/gtk+
                media-libs/libpng )
        gtk? ( x11-libs/gtk+
                media-libs/libpng )
        alsa? ( media-libs/alsa-lib )"

src_compile() {

        local myconf=""

        use alsa \
                && myconf="${myconf} --enable-alsa" \
                || myconf="${myconf} --disable-alsa"
        use gtk \
        && myconf="${myconf} --enable-png" \
                || myconf="${myconf} --disable-gtk --disable-png"
        use sdl \
                && myconf="${myconf} --enable-sdl --enable-png" \
                || myconf="${myconf} --disable-sdl --disable--gtk --disable-png"

        ./configure --prefix=/usr \
                --datadir=/usr/share/crossfire-client \
                --infodir=/usr/share/info \
                --mandir=/usr/share/man \
        ${myconf} || die
        make || die
}

src_install () {
        make prefix=${D}usr mandir=${D}usr/share/man/man1 install || die
}


Back to top
View user's profile Send private message
Kruuse
n00b
n00b


Joined: 29 Aug 2002
Posts: 15
Location: Denmark

PostPosted: Sat Nov 16, 2002 8:32 am    Post subject: Reply with quote

Thank you. I'll try it sometime this weekend. :D
Back to top
View user's profile Send private message
jdm
n00b
n00b


Joined: 14 Nov 2002
Posts: 9

PostPosted: Sat Nov 16, 2002 11:03 am    Post subject: Reply with quote

I submitted it to the Gentoo Devs so it should be added soon:
https://bugs.gentoo.org/show_bug.cgi?id=10810
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gamers & Players All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum