Skip to content

Commit

Permalink
hedgewars: packaged for lunar, enjoy
Browse files Browse the repository at this point in the history
  • Loading branch information
v4hn committed Aug 19, 2013
1 parent 26c5b19 commit 39b6eeb
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
5 changes: 5 additions & 0 deletions games/hedgewars/BUILD
@@ -0,0 +1,5 @@
# have fun porting the resp. haskell modules
# if you want the server
OPTS+=" -DNOSERVER=1 -DDATA_INSTALL_DIR='share/games/hedgewars'" &&

default_cmake_build
19 changes: 19 additions & 0 deletions games/hedgewars/DEPENDS
@@ -0,0 +1,19 @@
depends cmake
depends fpc
depends qt4
depends SDL
depends SDL_net
depends SDL_mixer
depends SDL_image
depends SDL_ttf

# lua 5.2 is not supported yet
#depends lua

# They require physfs 2.1 which is not released yet
#depends physfs

optional_depends libpng "-DNOPNG=0" "-DNOPNG=1" "for compressed screenshots"

optional_depends ffmpeg "" "-DNOVIDEOREC=1" "for video recording (say yes to freeglut as well)"
optional_depends freeglut "" "-DNOVIDEOREC=1" "for video recording"
16 changes: 16 additions & 0 deletions games/hedgewars/DETAILS
@@ -0,0 +1,16 @@
MODULE=hedgewars
VERSION=src-0.9.19.3
SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE_URL=http://download.gna.org/$MODULE
SOURCE_VFY=sha1:029fce66d04ed73d69500ca8723bfe63714e05a9
WEB_SITE=http://www.hedgewars.org
ENTERED=20130819
UPDATED=20130819
SHORT="turn based strategy game"

cat << EOF
Hedgewars is a turn based strategy, artillery, action
and comedy game, featuring the antics of pink hedgehogs
with attitude as they battle from the depths of hell
to the depths of space.
EOF
8 changes: 8 additions & 0 deletions games/hedgewars/PRE_BUILD
@@ -0,0 +1,8 @@
default_pre_build &&

# make sure it does not detect lua 5.2 as lua 5.1
sedit "s:lua PATHS:PATHS:" cmake_modules/FindLua.cmake &&

sedit 's:"-k-lreadline":\0 "-k-lm":' CMakeLists.txt &&

sedit 's:"bin":"games":' CMakeLists.txt

0 comments on commit 39b6eeb

Please sign in to comment.