Updated addon repository URL and improved debug output on download
[supertux.git] / tools / supertux.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: Matthis Braun <matze@braunis.de>
10 Summary: The SuperTux platform game is a cute penguin-oriented clone of Super Mario Bros
11 SoftwareVersion: 0.1.2
12 PackageVersion: 1
13 AutopackageTarget: 1.0
14
15 [Description]
16 SuperTux is a jump'n run like game, with strong inspiration from the
17 Super Mario Bros games for Nintendo.
18
19 Run and jump through multiple worlds, fighting off enemies by jumping
20 on them or bumping them from below.  Grabbing power-ups and other stuff
21 on the way.
22
23 [BuildPrepare]
24 old_build_root="$build_root"
25 APKG_BUILD_SKIP_MAKE=1
26 APKG_BUILD_ROOT=0
27 prepareBuild
28 jam
29 jam "-sDESTDIR=$old_build_root" install
30
31 [BuildUnprepare]
32 unprepareBuild
33
34 [Imports]
35 echo '*' | import
36
37 [Prepare]
38 # Dependency checking
39 require @libsdl.org/sdl 1.2
40 require @gnu.org/libstdc++ 3
41 require @opengl.org/opengl
42
43 [Install]
44 # Put your installation script here
45 installExe bin/*
46 installData share/supertux
47 installIcon share/pixmaps/*.png
48 installIcon share/pixmaps/*.xpm
49 installDesktop "Games" share/applications/supertux.desktop
50
51 [Uninstall]
52 # Usually just the following line is enough to uninstall everything
53 uninstallFromLog