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:=$(ICONV_DEPENDS) +libsdl +libsdl_sound +libsdl_mixer |
| 16 | DEPENDS:=$(ICONV_DEPENDS) libsdl libsdl_sound libsdl_mixer |
| 17 | |
| 18 | include $(INCLUDE_DIR)/package.mk |
| 19 | include $(INCLUDE_DIR)/nls.mk |
| 20 | |
| 21 | define 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/ |
| 27 | endef |
| 28 | PKG_BUILD_DIR:=$(BUILD_DIR)/scummvm-$(PKG_VERSION) |
| 29 | |
| 30 | define 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! |
| 32 | endef |
| 33 | |
| 34 | MAKE_FLAGS += AR="mipsel-openwrt-linux-uclibc-ar cru" |
| 35 | |
| 36 | TARGET_CFLAGS += -I$(STAGING_DIR)/usr/include/SDL |
| 37 | |
| 38 | define 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 | |
| 41 | endef |
| 42 | define Package/scummvm/install |
| 43 | $(INSTALL_DIR) $(1)/usr/bin |
| 44 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/scummvm $(1)/usr/bin/ |
| 45 | endef |
| 46 | |
| 47 | $(eval $(call BuildPackage,scummvm)) |
| 48 |
