xmame slackbuild
Could anybody help me to find a slackbuild for xmame?
I can not write it on my own, so S. O. S. Thank you! |
Quote:
It only contains a makefile.unix you need to alter suitable for your system. I can give you mine makefile.unix/slackbuild but it's for athlon xp and I don't use /tmp for creating the slackware package but /slack_pack. Also in slackware current there is a new gcc so instead of -mcpu there is -mtune in the files. |
I am thinking to type meke and make install in order to have xmame installed because I am waiting since too much time.
If you like your makefile would be apreciated, also because i have a Athlon processor too. TNX, Franco. |
do you wan't me to mail them to you?
|
theres a slack package in x.mame.net
|
Trying with this Slackbuild:
#!/bin/sh # # SlackBuild for xmame # ################################## ## Creator: Stefano Stabellini ## ## stefano@stabellini.net ## ## http://www.stabellini.net ## ################################## # CWD=`pwd` if [ "$TMP" = "" ]; then TMP=/tmp fi if [ ! -d $TMP ]; then mkdir -p $TMP # location to build the source fi PKG=/tmp/package-xmame VERSION=0.103 ARCH=${ARCH:-athlon-xp} BUILD=Hrp if [ "$ARCH" = "athlon-xp" ]; then SLKCFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -ffast-math -mmmx -m3dnow -msse -mfpmath=sse,387 -mcpu=athlon-xp" elif [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mcpu=i686" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2" fi rm -rf $PKG mkdir -p $PKG/usr echo "+================+" echo "| xmame-$VERSION |" echo "+================+" cd $TMP rm -rf xmame-$VERSION tar xvjf $CWD/xmame-$VERSION.tar.bz2 cd xmame-$VERSION chown -R root.root . find . -perm 777 -exec chmod 755 {} \; find . -perm 775 -exec chmod 755 {} \; find . -perm 700 -exec chmod 755 {} \; find . -perm 744 -exec chmod 755 {} \; find . -perm 666 -exec chmod 644 {} \; find . -perm 664 -exec chmod 644 {} \; find . -perm 600 -exec chmod 644 {} \; cp $CWD/makefile.unix ./ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ make make install strip $PKG/usr/bin/* chown -R root.bin $PKG/usr/bin gzip -9 $PKG/usr/man/man6/* mkdir -p $PKG/usr/doc/xmame-$VERSION cp doc/* $PKG/usr/doc/xmame-$VERSION cp README $PKG/usr/doc/xmame-$VERSION mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc #cat $CWD/slack-required > $PKG/install/slack-required requiredbuilder $PKG cd $PKG makepkg -l y -c n ../xmame-$VERSION-$ARCH-$BUILD.tgz I unfortunately receive this error Compiling src/machine/segacrpt.c ... cc1: error: unrecognized option `-Wdeclaration-after-statement' make: *** [xmame.obj/machine/segacrpt.o] Error 1 What should i do to fix it? Thanks |
of course. look at this:
Code:
cp $CWD/makefile.unix ./ You need the makefile.unix file also |
:newbie: Sorry!!
You are right. Ok. I put makefile.unix in CWD and now it seems to work. I left my PC compiling at home while i am working. I will tell you if it will work. |
[OT]P.S. I tried to visit your site, perfect_circle, but it is too much difficult to interpretate. :confused:
I saw you linked www.slacky.it. I appreciate it. We are a grat Slackware community with a lot of good packages. A sudamerican review just wrote few lines about it. Everybody is happy about it.[/OT] |
Quote:
too bad it's in italian only :). If I find the time I may translate my site in english too. But the only usefull thing in there is a guide for greek support in slackware, so it's only usefull for Greeks I guess.... I wan't also to include some slackbuilds there. We 'll see. If you care about slackbuilds here are some sites I have bookmarked: http://home.tele2.fr/solsTiCe/build/ http://slackbuild.strangeworlds.co.uk/ |
Quote:
I think that project will be translated in english too. (about 250 pages) P.S. Let talk about xmame. Could you please send me your Slackbuild and makefile.unix? Or could you link it to me? I can not understand a word og greek in your site. :-) Thank you. |
I've sent you an e-mail. You need to reply so I can get your address.
|
I'll have a look at producing a working xmame.SlackBuild - boy that xmame is a fat bastard (pardon le mot) to build!
Looks like it will take some time, but when the build is ready (for a Slackware 10.2 system) I'll post a link to the package, so you can verify if it works (I don't use MAME myself). I am building with SDL graphics, and ALSA/SDL sound, and generic/SDL/USB joystick support. The build is for i386 platform but I think I wrote the SlackBuild so that it will be correct for other hardware platforms as well. Eric |
Quote:
Mine is ~ 40 megs stripped. Shocking. |
Quote:
Waiting for your TGZ and Slackbuild. Thank you very much. |
All times are GMT -5. The time now is 05:13 AM. |