View previous topic :: View next topic |
Author |
Message |
Kruuse n00b
Joined: 29 Aug 2002 Posts: 15 Location: Denmark
|
Posted: Mon Sep 23, 2002 7:45 pm Post subject: Old version of Crossfire in Portage? |
|
|
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 |
|
|
jdm n00b
Joined: 14 Nov 2002 Posts: 9
|
Posted: Sat Nov 16, 2002 6:17 am Post subject: |
|
|
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 |
|
|
Kruuse n00b
Joined: 29 Aug 2002 Posts: 15 Location: Denmark
|
Posted: Sat Nov 16, 2002 8:32 am Post subject: |
|
|
Thank you. I'll try it sometime this weekend. |
|
Back to top |
|
|
jdm n00b
Joined: 14 Nov 2002 Posts: 9
|
|
Back to top |
|
|
|