OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
1 | # |
2 | # This is free software, licensed under the GNU General Public License v2. |
3 | # See /LICENSE for more information. |
4 | |
5 | include $(TOPDIR)/rules.mk |
6 | |
7 | PKG_NAME:=vitetris |
8 | PKG_VERSION:=0.57 |
9 | PKG_RELEASE:=1 |
10 | |
11 | PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz |
12 | PKG_SOURCE_URL:=http://victornils.net/tetris |
13 | PKG_MD5SUM:=07d02ee03e2edd66a8741729e237f21f |
14 | |
15 | include $(INCLUDE_DIR)/package.mk |
16 | |
17 | define Package/vitetris |
18 | TITLE:=terminal-based Tetris clone |
19 | SECTION:=games |
20 | CATEGORY:=Games |
21 | URL:=http://victornils.net/tetris |
22 | DEPENDS:=+libncurses |
23 | endef |
24 | |
25 | define Package/vitetris/description |
26 | vitetris is a terminal-based Tetris clone by Victor Nilsson. It can also run in graphics mode using the Allegro library |
27 | endef |
28 | |
29 | CONFIGURE_ARGS= \ |
30 | --without-xlib \ |
31 | --without-joystick \ |
32 | --with-2player \ |
33 | --with-network \ |
34 | --with-curses \ |
35 | --without-allegro \ |
36 | --with-term_resizing \ |
37 | --with-menu \ |
38 | --with-blockstyles \ |
39 | --with-pctimer |
40 | |
41 | CONFIGURE_VARS+=HOSTCC="$(HOSTCC)" HOST_CFLAGS="$(HOST_CFLAGS)" HOST_CPPFLAGS="$(HOST_CPPFLAGS)" |
42 | |
43 | define Package/vitetris/install |
44 | $(INSTALL_DIR) $(1)/usr/bin |
45 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/tetris $(1)/usr/bin/vitetris |
46 | endef |
47 | |
48 | $(eval $(call BuildPackage,vitetris)) |
49 |