[Lunar-commits] <moonbase> smc: 1.5 initial submission
Auke Kok
sofar at foo-projects.org
Tue May 13 21:27:16 CEST 2008
commit 0e0dedebbac601db8bd16fbbc9b6c067c85e7ae0
Author: Bernd Kosmahl <beko at duke.famkos.net>
Date: Tue May 13 21:27:16 2008 +0200
smc: 1.5 initial submission
---
zbeta/smc/BUILD | 9 +++++++++
zbeta/smc/DEPENDS | 6 ++++++
zbeta/smc/DETAILS | 18 ++++++++++++++++++
zbeta/smc/POST_INSTALL | 36 ++++++++++++++++++++++++++++++++++++
zbeta/smc/POST_REMOVE | 11 +++++++++++
zbeta/smc/PRE_BUILD | 5 +++++
6 files changed, 85 insertions(+), 0 deletions(-)
diff --git a/zbeta/smc/BUILD b/zbeta/smc/BUILD
new file mode 100644
index 0000000..aede198
--- /dev/null
+++ b/zbeta/smc/BUILD
@@ -0,0 +1,9 @@
+(
+
+ ./configure --datarootdir=/usr/share/games \
+ --exec-prefix=/usr \
+ $OPTS &&
+
+ default_make
+
+) > $C_FIFO 2>&1
diff --git a/zbeta/smc/DEPENDS b/zbeta/smc/DEPENDS
new file mode 100644
index 0000000..c3778e6
--- /dev/null
+++ b/zbeta/smc/DEPENDS
@@ -0,0 +1,6 @@
+depends SDL &&
+depends SDL_image &&
+depends SDL_mixer &&
+depends cegui &&
+depends boost &&
+depends %GLX
diff --git a/zbeta/smc/DETAILS b/zbeta/smc/DETAILS
new file mode 100644
index 0000000..6f7544a
--- /dev/null
+++ b/zbeta/smc/DETAILS
@@ -0,0 +1,18 @@
+ MODULE=smc
+ VERSION=1.5
+ SOURCE=${MODULE}-${VERSION}.tar.bz2
+ SOURCE_URL=$SFORGE_URL/smclone/
+SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
+ SOURCE_VFY=sha1:ee2abe6ff07c479f38ed6953538a1de946762b94
+ SOURCE2=SMC_music_4.0_high.zip
+ SOURCE2_URL=$SFORGE_URL/smclone/
+ WEB_SITE="http://www.secretmaryo.org"
+ ENTERED=20080504
+ UPDATED=20080504
+ SHORT="two-dimensional platform game with a style designed similar to classic sidescroller games"
+cat <<EOF
+Secret Maryo Chronicles is an Open Source two-dimensional platform
+game with a style designed similar to classic sidescroller games. It
+uses the platform independent library SDL and, since version 0.98,
+the OpenGL accelerated Graphics Renderer. The game is developed in C++.
+EOF
diff --git a/zbeta/smc/POST_INSTALL b/zbeta/smc/POST_INSTALL
new file mode 100644
index 0000000..22e3fa1
--- /dev/null
+++ b/zbeta/smc/POST_INSTALL
@@ -0,0 +1,36 @@
+if [ -d /usr/share/icons ] ; then
+ ln -s /usr/share/games/smc/pixmaps/game/items/mushroom_red.png \
+ /usr/share/icons/smc.png
+
+fi
+
+if [ -d /opt/lunar/kde/3 ] ; then
+
+ cat << EOF > /opt/lunar/kde/3/share/applications/smc.desktop
+[Desktop Entry]
+Name=Secret Maryo Chronicles
+Comment=Secret Maryo Chronicles is an Open Source two-dimensional platform game$
+Exec=smc
+Icon=smc.png
+Terminal=false
+Type=Application
+Categories=Application;Game;
+EOF
+
+fi
+
+if [ -d /opt/lunar/kde/4 ] ; then
+
+ cat << EOF > /opt/lunar/kde/4/share/applications/smc.desktop
+[Desktop Entry]
+Name=Secret Maryo Chronicles
+Comment=Secret Maryo Chronicles is an Open Source two-dimensional platform game$
+Exec=smc
+Icon=smc.png
+Terminal=false
+Type=Application
+Categories=Application;Game;
+EOF
+
+fi
+
diff --git a/zbeta/smc/POST_REMOVE b/zbeta/smc/POST_REMOVE
new file mode 100644
index 0000000..7f66c8d
--- /dev/null
+++ b/zbeta/smc/POST_REMOVE
@@ -0,0 +1,11 @@
+if [ -f /opt/lunar/kde/3/share/applications/smc.desktop ] ; then
+ rm /opt/lunar/kde/3/share/applications/smc.desktop
+fi
+
+if [ -f /opt/lunar/kde/4/share/applications/smc.desktop ] ; then
+ rm /opt/lunar/kde/4/share/applications/smc.desktop
+fi
+
+if [ -h /usr/share/icons/smc.png ] ; then
+ rm /usr/share/icons/smc.png
+fi
diff --git a/zbeta/smc/PRE_BUILD b/zbeta/smc/PRE_BUILD
new file mode 100644
index 0000000..a5345b1
--- /dev/null
+++ b/zbeta/smc/PRE_BUILD
@@ -0,0 +1,5 @@
+mk_source_dir $SOURCE_DIRECTORY &&
+unpack $SOURCE &&
+cd $MODULE-$VERSION &&
+unpack $SOURCE2
+
More information about the Lunar-commits
mailing list