2010-07-14 10:17:08 +03:00
# Copyright (C) 2010 tuxbrain.com
#
# This is free software, licensed under the GNU General Public License v2.
#
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := scummvm
PKG_VERSION := 1.1.1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.bz2
PKG_SOURCE_URL := @SF/$( PKG_NAME)
PKG_CAT := bzcat
2011-02-06 21:22:36 +02:00
PKG_BUILD_DEPENDS := $( ICONV_DEPENDS) +libsdl +libsdl_sound +libsdl_mixer
DEPENDS := $( ICONV_DEPENDS) libsdl libsdl_sound libsdl_mixer
2010-07-14 10:17:08 +03:00
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
2011-02-06 21:22:36 +02:00
i n c l u d e $( INCLUDE_DIR ) / n l s . m k
2010-07-14 10:17:08 +03:00
d e f i n e P a c k a g e / s c u m m v m
TITLE:= free implementation of LucasArts SCUMM interpreter
SECTION:= games
CATEGORY:= Games
DEPENDS:= @BROKEN
URL:= http://www.scummvm.org/
e n d e f
PKG_BUILD_DIR := $( BUILD_DIR) /scummvm-$( PKG_VERSION)
d e f i n e P a c k a g e / s c u m m v m / d e s c r i p t i o n
ScummVM is a program which allows you to run certain classic graphical point-and-click adventure games, provided you already have their data files. The clever part about this: ScummVM just replaces the executables shipped with the games, allowing you to play them on systems for which they were never designed!
e n d e f
MAKE_FLAGS += AR = "mipsel-openwrt-linux-uclibc-ar cru"
TARGET_CFLAGS += -I$( STAGING_DIR) /usr/include/SDL
d e f i n e B u i l d / C o n f i g u r e
$( call Build/Configure/Default, --enable-all-engines --disable-nasm --disable-mad --disable-vorbis --disable-scalers --disable-mt32emu --disable-hq-scalers --disable-indeo3)
e n d e f
d e f i n e P a c k a g e / s c u m m v m / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /scummvm $( 1) /usr/bin/
e n d e f
$( eval $ ( call BuildPackage ,scummvm ) )