Merged back changes from 0.3.x branch
[supertux.git] / tools / autopackage / default.apspec
1 # -*-shell-script-*-
2 # Autopackage spec file
3
4 [Meta]
5 RootName: @supertux.berlios.de/supertux:$SOFTWAREVERSION
6 DisplayName: SuperTux Platform Game
7 ShortName: supertux
8 Maintainer: SuperTux Development Team <supertux-devel@lists.berlios.de>
9 Packager: Christoph Sommer <christoph.sommer@2006.expires.deltadevelopment.de>
10 Summary: SuperTux is a classic style 2D jump and run sidescroller game in a style similar to the original SuperMario games.
11 SoftwareVersion: 0.3.0
12 PackageVersion: 1
13 AutopackageTarget: 1.0
14
15 [Description]
16 SuperTux is a classic style 2D jump and run sidescroller game in a style similar to the original SuperMario games.
17
18 Run and jump through multiple worlds, fighting off enemies by jumping
19 on them or bumping them from below.  Grabbing power-ups and other stuff
20 on the way.
21
22 [BuildPrepare]
23 old_build_root="$build_root"
24 APKG_BUILD_SKIP_MAKE=1
25 APKG_BUILD_ROOT=0
26 prepareBuild --enable-binreloc=yes
27 jam
28 jam "-sDESTDIR=$old_build_root" install
29
30 [BuildUnprepare]
31 unprepareBuild
32
33 [Imports]
34 echo '*' | import
35
36 [Prepare]
37 # Dependency checking
38 require '@openal.org/openal' 0.0
39 require '@libsdl.org/sdl' 1.2
40 require '@opengl.org/opengl' 1.2
41 require '@xiph.org/libogg' 0.5
42 require '@xiph.org/libvorbis' 0.3
43 require '@gnu.org/libstdc++' 3
44 require '@libsdl.org/sdl_image' 1.2
45 require '@icculus.org/physfs' 1.0
46
47 [Install]
48 # Put your installation script here
49 installExe bin/*
50 installData share/supertux
51 copyFiles share/doc "$PREFIX/share"
52 installIcon share/pixmaps/*.png
53 installIcon share/pixmaps/*.xpm
54 installDesktop "Games" share/applications/supertux.desktop
55
56 [Uninstall]
57 # Usually just the following line is enough to uninstall everything
58 uninstallFromLog