Hello,
This is the corrected FrugalBuild of Egoboo :-)
# Compiling Time: 0.01 SBU
# Maintainer: none
# Contributor: jedifox <[EMAIL PROTECTED]>
pkgname=egoboo
pkgver=2.6.3b
pkgrel=1
pkgdesc="Egoboo is a working cool 3D dungeon crawling game in the spirit of
nethack"
_F_sourceforge_broken_up2date="1"
_F_sourceforge_dirname="$pkgname"
_F_sourceforge_name="$pkgname-source"
Finclude sourceforge
rodepends=('egoboo-data=2.6.3b')
depends=('sdl_mixer' 'sdl_ttf' 'sdlimage')
groups=('games-extra')
archs=('i686')
source=($source optimization.diff)
sha1sums=('61a409c01109aa7d1561083d0c30a4f4208f93b9' \
'3976c861bd624deb58440f5416874b06512af304')
build()
{
Fcd source/game
Fpatchall
Fsed "/usr" "$Fdestdir/usr" Makefile.unix
mv Makefile.unix Makefile
Fmake
Fmakeinstall
}
# optimization OK
==> WARNING: fblint says some needed variables are missing or incomplete.
Abort the build unless you know what you are doing.
==> Entering fakeroot environment
==> WARNING: fblint says some needed variables are missing or incomplete.
Abort the build unless you know what you are doing.
==> Making package: egoboo 2.6.3b-1 (Fri Jul 4 13:15:05 CEST 2008)
==> Checking Runtime Dependencies...
==> Missing Dependencies:
==>
requires: sdl_mixer
requires: sdl_ttf
requires: sdlimage
==>
==> Installing missing dependencies...
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded:
ignored.
resolving dependencies... done.
looking for inter-conflicts... done.
Targets: sdl-1.2.13-1 libmikmod-3.1.11-7 libogg-1.1.3-2 libvorbis-1.2.0-2
sdl_mixer-1.2.8-1 freetype2-2.3.5-2 xproto-7.0.11-1 libxdmcp-1.0.2-2
libxau-1.0.3-2 xcb-proto-1.1-1 libpthread-stubs-0.1-2
libgpg-error-1.6-2 libgcrypt-1.4.1-1 libxslt-1.1.24-1 libxcb-1.1-1
xtrans-1.0.4-1 kbproto-1.0.3-2 libx11-1.1.3-2 xextproto-7.0.2-1
libxext-1.0.4-1 xf86vidmodeproto-2.2.2-1 libxxf86vm-1.0.1-2
inputproto-1.4.2.1-1 libxi-1.1.3-1 libice-1.0.4-2 libsm-1.0.3-1
libxt-1.0.5-1 libxmu-1.0.4-1 libdrm-2.3.0-2 fixesproto-4.0-2
libxfixes-4.0.3-2 damageproto-1.1.0-1 libxdamage-1.1.1-1 libgl-7.0.2-2
mesa-7.0.2-2 sdl_ttf-2.0.9-1 libjpeg-6b-6 libpng-1.2.29-1
libtiff-3.8.2-3 sdlimage-1.2.6-2
Total Package Size: 23.3 MB
Total Uncompressed Package Size: 72.4 MB
checking package integrity... done.
checking for file conflicts... done.
installing sdl... done.
installing libmikmod... done.
installing libogg... done.
installing libvorbis... done.
installing sdl_mixer... done.
installing freetype2... done.
installing xproto... done.
installing libxdmcp... done.
installing libxau... done.
installing xcb-proto... done.
installing libpthread-stubs... done.
installing libgpg-error... done.
installing libgcrypt... done.
installing libxslt... done.
installing libxcb... done.
installing xtrans... done.
installing kbproto... done.
installing libx11... done.
installing xextproto... done.
installing libxext... done.
installing xf86vidmodeproto... done.
installing libxxf86vm... done.
installing inputproto... done.
installing libxi... done.
installing libice... done.
installing libsm... done.
installing libxt... done.
installing libxmu... done.
installing libdrm... done.
installing fixesproto... done.
installing libxfixes... done.
installing damageproto... done.
installing libxdamage... done.
installing libgl... done.
installing mesa... done.
installing sdl_ttf... done.
installing libjpeg... done.
installing libpng... done.
installing libtiff... done.
installing sdlimage... done.
==> Checking Buildtime Dependencies...
==> Checking for newer version...
Passed
==> Estimated build time: 3 seconds
==> Retrieving Sources...
-> Using local copy of egoboo-source-2.6.3b.tar.gz
-> Found optimization.diff in build dir
==> Validating source files with SHA1sums
egoboo-source-2.6.3b.tar.gz ... Passed
optimization.diff ... Passed
==> Extracting Sources...
==> tar --use-compress-program=gzip -xf egoboo-source-2.6.3b.tar.gz
==> Starting build()...
==> Going to the source directory...
==> Using patch: optimization.diff
patching file Makefile.unix
==> Using sed with file: Makefile.unix
==> Configuring...
==> Compiling...
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o camera.o camera.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o char.o char.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Client.o Client.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Clock.o Clock.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o common-file.o
common-file.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o configfile.o
configfile.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o egoboostrutil.o
egoboostrutil.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o enchant.o enchant.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Font.o Font.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o game.o game.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gltexture.o gltexture.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphicfan.o
graphicfan.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphicmad.o
graphicmad.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphic.o graphic.c
graphic.c:28:1: warning: "min" redefined
In file included from graphic.c:23:
egoboo.h:2341:1: warning: this is the location of the previous definition
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o graphicprt.o
graphicprt.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o id_normals.o
id_normals.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o input.o input.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o linux-file.o
linux-file.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Log.o Log.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o MainLoop.o MainLoop.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o mathstuff.o mathstuff.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Md2.o Md2.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o menu.o menu.c
menu.c:32:1: warning: "max" redefined
In file included from menu.c:22:
egoboo.h:2342:1: warning: this is the location of the previous definition
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o module.o module.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o network.o network.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o particle.o particle.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o passage.o passage.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o script.o script.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Server.o Server.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sound.o sound.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o sys_linux.o sys_linux.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Task.o Task.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Ticker.o Ticker.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Timer.o Timer.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o Ui.o Ui.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/host.o
../enet/host.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/list.o
../enet/list.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/memory.o
../enet/memory.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/packet.o
../enet/packet.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/peer.o
../enet/peer.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/protocol.o
../enet/protocol.c
gcc -march=i686 -O2 -pipe -fno-strict-aliasing -I. -I../enet/include -I..
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o ../enet/unix.o
../enet/unix.c
gcc -o egoboo camera.o char.o Client.o Clock.o common-file.o configfile.o
egoboostrutil.o enchant.o Font.o game.o gltexture.o graphicfan.o graphicmad.o
graphic.o graphicprt.o id_normals.o input.o linux-file.o Log.o MainLoop.o
mathstuff.o Md2.o menu.o module.o network.o particle.o passage.o script.o
Server.o sound.o sys_linux.o Task.o Ticker.o Timer.o Ui.o ../enet/host.o
../enet/list.o ../enet/memory.o ../enet/packet.o ../enet/peer.o
../enet/protocol.o ../enet/unix.o -L/usr/lib -Wl,-rpath,/usr/lib -lSDL
-lpthread -lSDL_ttf -lSDL_mixer -lGL -lGLU
==> Installing to the package directory...
mkdir -p /var/tmp/fst/pkg/usr/bin
mkdir -p /var/tmp/fst/pkg/usr/libexec
install -m 755 egoboo /var/tmp/fst/pkg/usr/libexec
install -p -m 755 egoboo.sh /var/tmp/fst/pkg/usr/bin/egoboo
==> Elapsed Time: 0.01 SBU
==> Removing unwanted files...
==> Preparing package documentation...
==> Compressing info and manual pages...
==> Checking symbolic links...
==> Stripping debugging symbols from libraries from egoboo...
==> Stripping symbols from binaries from egoboo...
==> Generating files for egoboo:
-> .PKGINFO file...
-> .FILELIST file...
-> Compressing egoboo-2.6.3b-1-i686.fpm
==> Finished making: egoboo (Fri Jul 4 13:15:23 CEST 2008)
--- Makefile.unix 2008-06-01 22:46:05.000000000 +0200
+++ Makefile1.unix 2008-07-03 14:20:01.000000000 +0200
@@ -19,7 +19,8 @@
CC := gcc
OPT := -Os
INC := -I. -I../enet/include -I.. ${SDLCONF_I}
-CFLAGS := ${OPT} ${INC}
+CFLAGS ?= ${OPT}
+CFLAGS += ${INC}
LDFLAGS := ${SDLCONF_L} -lSDL_ttf -lSDL_mixer -lGL -lGLU
EGO_BIN := egoboo
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel