added supertux autopackage .spec file
authorMatthias Braun <matze@braunis.de>
Mon, 4 Apr 2005 19:31:24 +0000 (19:31 +0000)
committerMatthias Braun <matze@braunis.de>
Mon, 4 Apr 2005 19:31:24 +0000 (19:31 +0000)
SVN-Revision: 2340

tools/supertux.apsepc [new file with mode: 0644]

diff --git a/tools/supertux.apsepc b/tools/supertux.apsepc
new file mode 100644 (file)
index 0000000..5d1c65e
--- /dev/null
@@ -0,0 +1,53 @@
+# -*-shell-script-*-
+# Autopackage spec file
+
+[Meta]
+RootName: @supertux.berlios.de/supertux:$SOFTWAREVERSION
+DisplayName: SuperTux platform game
+ShortName: supertux
+Maintainer: SuperTux Development Team <supertux-devel@lists.berlios.de>
+Packager: Matthis Braun <matze@braunis.de>
+Summary: The SuperTux platform game is a cute penguin-oriented clone of Super Mario Bros
+SoftwareVersion: 0.1.2
+PackageVersion: 1
+AutopackageTarget: 1.0
+
+[Description]
+SuperTux is a jump'n run like game, with strong inspiration from the
+Super Mario Bros games for Nintendo.
+
+Run and jump through multiple worlds, fighting off enemies by jumping
+on them or bumping them from below.  Grabbing power-ups and other stuff
+on the way.
+
+[BuildPrepare]
+old_build_root="$build_root"
+APKG_BUILD_SKIP_MAKE=1
+APKG_BUILD_ROOT=0
+prepareBuild
+jam
+jam "-sDESTDIR=$old_build_root" install
+
+[BuildUnprepare]
+unprepareBuild
+
+[Imports]
+echo '*' | import
+
+[Prepare]
+# Dependency checking
+require @libsdl.org/sdl 1.2
+require @gnu.org/libstdc++ 3
+require @opengl.org/opengl
+
+[Install]
+# Put your installation script here
+installExe bin/*
+installData share/supertux
+installIcon share/pixmaps/*.png
+installIcon share/pixmaps/*.xpm
+installDesktop "Games" share/applications/supertux.desktop
+
+[Uninstall]
+# Usually just the following line is enough to uninstall everything
+uninstallFromLog