From 83db23325b9f7437d4622aa89b5ed5a6840030e2 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Thu, 22 Jul 2010 20:11:31 +0200 Subject: [PATCH] megaglest-source: add metafile support Signed-off-by: Stephan Raue --- packages/addons/games/megaglest-source/build | 15 +-------------- packages/addons/games/megaglest-source/meta | 14 ++++++++++++++ packages/addons/games/megaglest-source/url | 1 - 3 files changed, 15 insertions(+), 15 deletions(-) create mode 100644 packages/addons/games/megaglest-source/meta delete mode 100644 packages/addons/games/megaglest-source/url diff --git a/packages/addons/games/megaglest-source/build b/packages/addons/games/megaglest-source/build index 709cb94fdc..94e59d7fc0 100755 --- a/packages/addons/games/megaglest-source/build +++ b/packages/addons/games/megaglest-source/build @@ -2,25 +2,12 @@ . config/options $1 -$SCRIPTS/build toolchain -$SCRIPTS/build lua -$SCRIPTS/build curl -$SCRIPTS/build xerces-c -$SCRIPTS/build $LIBJPEG -$SCRIPTS/build libpng -$SCRIPTS/build libvorbis -$SCRIPTS/build libogg -$SCRIPTS/build SDL -$SCRIPTS/build openal-soft -$SCRIPTS/build libX11 -$SCRIPTS/build Mesa - # ensure we dont use fast-math optimization. CFLAGS=`echo $CFLAGS | sed -e "s|-ffast-math||"` CXXFLAGS=`echo $CXXFLAGS | sed -e "s|-ffast-math||"` # hack for wrong ar implementatition -unset AR + unset AR cd $PKG_BUILD ./configure --host=$TARGET_NAME \ diff --git a/packages/addons/games/megaglest-source/meta b/packages/addons/games/megaglest-source/meta new file mode 100644 index 0000000000..5199c7e30b --- /dev/null +++ b/packages/addons/games/megaglest-source/meta @@ -0,0 +1,14 @@ +PKG_NAME="megaglest-source" +PKG_VERSION="3.3.5" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="OSS" +PKG_SITE="http://www.glest.org" +PKG_URL="http://downloads.sourceforge.net/project/megaglest/current_release/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_DEPENDS="curl xerces-c $LIBJPEG libpng libvorbis libogg SDL openal-soft libX11 Mesa" +PKG_BUILD_DEPENDS="toolchain lua curl xerces-c $LIBJPEG libpng libvorbis libogg SDL openal-soft libX11 Mesa" +PKG_PRIORITY="optional" +PKG_SECTION="games" +PKG_SHORTDESC="(Game) MegaGlest: a free 3D real-time strategy game" +PKG_LONGDESC="Glest is a free 3D real-time strategy game, where you control the armies of two different factions: Tech, which is mainly composed of warriors and mechanical devices, and Magic, that prefers mages and summoned creatures in the battlefield." +PKG_IS_ADDON="no" diff --git a/packages/addons/games/megaglest-source/url b/packages/addons/games/megaglest-source/url deleted file mode 100644 index dc5b532761..0000000000 --- a/packages/addons/games/megaglest-source/url +++ /dev/null @@ -1 +0,0 @@ -http://downloads.sourceforge.net/project/megaglest/current_release/megaglest-source-3.3.5.tar.bz2 \ No newline at end of file