OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # Copyright (C) 2010 tuxbrain.com |
2 | # |
3 | # This is free software, licensed under the GNU General Public License v2. |
4 | # |
5 | |
6 | include $(TOPDIR)/rules.mk |
7 | |
8 | PKG_NAME:=scummvm |
9 | PKG_VERSION:=1.1.1 |
10 | PKG_RELEASE:=2 |
11 | |
12 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 |
13 | PKG_SOURCE_URL:=@SF/$(PKG_NAME) |
14 | PKG_CAT:=bzcat |
15 | PKG_BUILD_DEPENDS:=+libiconv +libsdl +libsdl_sound +libsdl_mixer |
16 | DEPENDS:=libiconv libsdl libsdl_sound libsdl_mixer |
17 | |
18 | include $(INCLUDE_DIR)/package.mk |
19 | |
20 | define 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/ |
26 | endef |
27 | PKG_BUILD_DIR:=$(BUILD_DIR)/scummvm-$(PKG_VERSION) |
28 | |
29 | define 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! |
31 | endef |
32 | |
33 | MAKE_FLAGS += AR="mipsel-openwrt-linux-uclibc-ar cru" |
34 | |
35 | TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL |
36 | |
37 | define 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 | |
40 | endef |
41 | define Package/scummvm/install |
42 | $(INSTALL_DIR) $(1)/usr/bin |
43 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/scummvm $(1)/usr/bin/ |
44 | endef |
45 | |
46 | $(eval $(call BuildPackage,scummvm)) |
47 |