View previous topic :: View next topic |
Author |
Message |
daktak Tux's lil' helper
Joined: 18 Oct 2002 Posts: 142 Location: Melbourne, Victoria
|
Posted: Thu Jun 05, 2003 1:30 pm Post subject: freedroid 1.01 + freedroid RPG 0.9.5 |
|
|
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
Last edited by daktak on Sun Jun 08, 2003 7:45 am; edited 2 times in total |
|
Back to top |
|
|
zypher Retired Dev
Joined: 10 Jun 2002 Posts: 416 Location: Cologne, ger.
|
Posted: Thu Jun 05, 2003 5:04 pm Post subject: |
|
|
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 |
|
|
zypher Retired Dev
Joined: 10 Jun 2002 Posts: 416 Location: Cologne, ger.
|
Posted: Thu Jun 05, 2003 5:30 pm Post subject: |
|
|
ahh...
it's sdl-mixer
Now for some playing... _________________ linux user 65882 |
|
Back to top |
|
|
daktak Tux's lil' helper
Joined: 18 Oct 2002 Posts: 142 Location: Melbourne, Victoria
|
Posted: Fri Jun 06, 2003 1:57 am Post subject: freedroidRPG-0.9.5 |
|
|
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 |
|
|
|