default.apspec 1.6 KB

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