[Frugalware-devel] [Need a review]Open Astro Menace (executable)
jedifox
j3d1f0x at free.fr
Thu May 8 21:48:33 CEST 2008
Gabriel C a écrit :
> Gabriel C wrote:
>> jedifox wrote:
>>> Hello :-)
>>>
>>> Last week, I made a package of this game, but... it seems to be very
>>> "hudge" because of its depends. Yes, I don't know how to make just one
>>> package with 3 files in the same project in sourceforge. So... I made 3
>>> differents package for this game. :-(
>>> I hope you have understand my bas English :-s
>>>
>>> To sum up, I made a package for the data, another package for the
>>> language file and another for the executable. So... 3 packages for one
>>> game.
>>>
>>> I'll send 3 different mails, for each one.
>>>
>>> First, it's the executable.
>
> Well this has to rodepends on the other 2 packages then. Without data files it won't work or ?
Hello, hello and thank you for your answer :-)
I thought about rodepends but... if just one of this 3 packages isn't
installed, the game doesn't work. So, they depends between them.
>
>>>
>> # Compiling Time: 0.09 SBU
>> # Maintainer: none
>> # Contributor: jedifox <j3d1f0x at free.fr>
>>
>> pkgname=openastromenace
>> pkgver=1.2.0
>> pkgrel=1
>> pkgdesc="Hardcore 3D space shooter with spaceship upgrade possibilities"
>> _F_sourceforge_name="openamenace-src"
>> _F_sourceforge_broken_up2date="1"
>> _F_sourceforge_ext=".tar.bz2"
>> _F_sourceforge_dirname="$pkgname"
>> Finclude sourceforge
>> _F_cd_path="OpenAstroMenaceSVN"
>> makedepends=('cmake')
>> depends=('sdl' 'libjpeg' 'mesa' 'libsm' 'freealut' 'libvorbis' 'libstdc++')
>> source=($source \
>> $pkgname.png)
>>
>> That is really not needed :) put it in one line .
I corrected that :-)
>>
>> groups=('games-extra')
>> archs=('i686')
>> sha1sums=('135a235cc35130edd3808c88fac202c57e8aafbf' \
>> 'b9435d1a898d2c0fd5e00b3e2fb39e2a2aa666e8')
>> _F_desktop_name="Open Astro Menace"
>> _F_desktop_icon="$pkgname.png"
>> _F_desktop_categories="Game;Arcade;"
>> build()
>> {
>> #compil
>> Fcd
>> cmake . || Fdie
>>
>> Check if it does support a build folder , in any way look at cmake.sh please.
>>
>
I don't understand what you want I do :-/
cmake.sh does'nt exist so I went to see man cmake. But... I don't know
what I must to see in. :-s
But, I tried with cmake $Fdestdir/usr/share/games/$pkgname || Fdie and,
I have :
==> Going to the source directory...
==> Creating directory: usr/share/games/openastromenace
CMake Error: The source directory
"/var/tmp/fst/pkg/usr/share/games/openastromenace" does not appear to
contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
More information about the Frugalware-devel
mailing list