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:=$(ICONV_DEPENDS) +libsdl +libsdl_sound +libsdl_mixer
16DEPENDS:=$(ICONV_DEPENDS) libsdl libsdl_sound libsdl_mixer
17
18include $(INCLUDE_DIR)/package.mk
19include $(INCLUDE_DIR)/nls.mk
20
21define Package/scummvm
22    TITLE:=free implementation of LucasArts SCUMM interpreter
23    SECTION:=games
24    CATEGORY:=Games
25    DEPENDS:=@BROKEN
26    URL:=http://www.scummvm.org/
27endef
28PKG_BUILD_DIR:=$(BUILD_DIR)/scummvm-$(PKG_VERSION)
29
30define Package/scummvm/description
31    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!
32endef
33
34MAKE_FLAGS += AR="mipsel-openwrt-linux-uclibc-ar cru"
35
36TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL
37
38define Build/Configure
39    $(call Build/Configure/Default, --enable-all-engines --disable-nasm --disable-mad --disable-vorbis --disable-scalers --disable-mt32emu --disable-hq-scalers --disable-indeo3)
40
41endef
42define Package/scummvm/install
43    $(INSTALL_DIR) $(1)/usr/bin
44    $(INSTALL_BIN) $(PKG_BUILD_DIR)/scummvm $(1)/usr/bin/
45endef
46
47$(eval $(call BuildPackage,scummvm))
48

Archive Download this file



interactive