Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
freedroid 1.01 + freedroid RPG 0.9.5
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
daktak
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2002
Posts: 142
Location: Melbourne, Victoria

PostPosted: Thu Jun 05, 2003 1:30 pm    Post subject: freedroid 1.01 + freedroid RPG 0.9.5 Reply with quote

freedroid 1.0.1
Code:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /home/cvsroot/gentoo-x86/app-games/freedroid/freedroid-1.0.1.ebuild

SRC_URI="mirror://sourceforge/freedroid/${P}.tar.gz"
HOMEPAGE="http://freedroid.sourceforge.net/"

LICENSE="GPL-2"

DESCRIPTION="Freedroid - a Paradroid clone"

KEYWORDS="x86 ppc"
S=${WORKDIR}/${P}

DEPEND=">=media-libs/libsdl-1.1.5
   media-libs/sdl-mixer
   media-libs/sdl-image"
SLOT="0"

src_compile() {
   ./configure \
      --host=${CHOST} \
      --prefix=/usr \
      --infodir=/usr/share/info \
      --mandir=/usr/share/man || die "./configure failed"
   emake || die
}

src_install() {
   make DESTDIR=${D} install || die
}


then run ebuild freedroid-1.0.1.ebuild digest and emerge :D


Last edited by daktak on Sun Jun 08, 2003 7:45 am; edited 2 times in total
Back to top
View user's profile Send private message
zypher
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 416
Location: Cologne, ger.

PostPosted: Thu Jun 05, 2003 5:04 pm    Post subject: Reply with quote

Code:
gcc  -g -Wall  -I/usr/X11R6/include -I/usr/include/SDL -D_REENTRANT  -DDATADIR='"/usr/share/freedroid"'   -o freedroid  menu.o graphics.o map.o init.o ship.o takeover.o bullet.o influ.o misc.o text.o sound.o enemy.o input.o main.o view.o BFont.o SDL_rotozoom.o highscore.o  -lSDL_image -lpng -lz -ljpeg -lSDL -lm  -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread
init.o(.text+0x1c89): In function `ThouArtDefeated':
/var/tmp/portage/freedroid-1.0.1/work/freedroid-1.0.1/src/init.c:1116: undefined reference to `Mix_HaltMusic'
collect2: ld returned 1 exit status
make[2]: *** [freedroid] Error 1
make[2]: Leaving directory `/var/tmp/portage/freedroid-1.0.1/work/freedroid-1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/freedroid-1.0.1/work/freedroid-1.0.1'
make: *** [all] Error 2

!!! ERROR: app-games/freedroid-1.0.1 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)


That's what I get.
I'll emerge more of that sdl-stuff, maybe a dependency is missing.
_________________
linux user 65882
Back to top
View user's profile Send private message
zypher
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 416
Location: Cologne, ger.

PostPosted: Thu Jun 05, 2003 5:30 pm    Post subject: Reply with quote

ahh...
it's sdl-mixer ;)
Now for some playing... :D
_________________
linux user 65882
Back to top
View user's profile Send private message
daktak
Tux's lil' helper
Tux's lil' helper


Joined: 18 Oct 2002
Posts: 142
Location: Melbourne, Victoria

PostPosted: Fri Jun 06, 2003 1:57 am    Post subject: freedroidRPG-0.9.5 Reply with quote

FreedroidRPG ebuild!
Code:
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header:
/home/cvsroot/gentoo-x86/app-games/freedroidRPG/freedroidRPG-0.9.5.ebuild

SRC_URI="mirror://sourceforge/freedroid/freedroidrpg-0.9.5-patchlv1.tar.gz"
HOMEPAGE="http://freedroid.sourceforge.net/"

LICENSE="GPL-2"

DESCRIPTION="Freedroid - a Paradroid clone"

KEYWORDS="x86 ppc"
S=${WORKDIR}/${P}

DEPEND=">=media-libs/libsdl-1.1.5
   media-libs/sdl-image
   media-libs/sdl-mixer
   media-libs/sdl-net"
SLOT="0"

src_compile() {
   ${S}/configure \
      --host=${CHOST} \
      --prefix=/usr \
      --infodir=/usr/share/info \
      --mandir=/usr/share/man || die "./configure failed"
   emake || die
}

src_install() {
   make DESTDIR=${D} install || die
        #not good, but..
        mkdir /usr/share/freedroidRPG/src
        mv /usr/bin/freedroidRPG  /usr/share/freedroidRPG/src
        echo "cd /us/share/freedroidRPG/src" > /usr/bin/freedroidRPG
        echo "./freedroidRPG" >> /usr/bin/freedroidRPG
        chmod +x /usr/bin/freedroidRPG
}


Code:

ebuild freedroidRPG-0.9.5.ebuild digest
emerge freedroidRPG
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