Root/scummvm/Makefile

1# Copyright (C) 2010 tuxbrain.com
2#
3# This is free software, licensed under the GNU General Public License v2.
4#
5
6include $(TOPDIR)/rules.mk
7
8PKG_NAME:=scummvm
9PKG_VERSION:=1.1.1
10PKG_RELEASE:=2
11
12PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
13PKG_SOURCE_URL:=@SF/$(PKG_NAME)
14PKG_CAT:=bzcat
15PKG_BUILD_DEPENDS:=+libiconv +libsdl +libsdl_sound +libsdl_mixer
16DEPENDS:=libiconv libsdl libsdl_sound libsdl_mixer
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/scummvm
21    TITLE:=free implementation of LucasArts SCUMM interpreter
22    SECTION:=games
23    CATEGORY:=Games
24    DEPENDS:=@BROKEN
25    URL:=http://www.scummvm.org/
26endef
27PKG_BUILD_DIR:=$(BUILD_DIR)/scummvm-$(PKG_VERSION)
28
29define Package/scummvm/description
30    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!
31endef
32
33MAKE_FLAGS += AR="mipsel-openwrt-linux-uclibc-ar cru"
34
35TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
36
37define Build/Configure
38    $(call Build/Configure/Default, --enable-all-engines --disable-nasm --disable-mad --disable-vorbis --disable-scalers --disable-mt32emu --disable-hq-scalers --disable-indeo3)
39
40endef
41define Package/scummvm/install
42    $(INSTALL_DIR) $(1)/usr/bin
43    $(INSTALL_BIN) $(PKG_BUILD_DIR)/scummvm $(1)/usr/bin/
44endef
45
46$(eval $(call BuildPackage,scummvm))
47

Archive Download this file



interactive