Root/vitetris/Makefile

1#
2# This is free software, licensed under the GNU General Public License v2.
3# See /LICENSE for more information.
4
5include $(TOPDIR)/rules.mk
6
7PKG_NAME:=vitetris
8PKG_VERSION:=0.57
9PKG_RELEASE:=1
10
11PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://victornils.net/tetris
13PKG_MD5SUM:=07d02ee03e2edd66a8741729e237f21f
14
15include $(INCLUDE_DIR)/package.mk
16
17define Package/vitetris
18    TITLE:=terminal-based Tetris clone
19    SECTION:=games
20    CATEGORY:=Games
21    URL:=http://victornils.net/tetris
22    DEPENDS:=+libncurses
23endef
24
25define 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
27endef
28
29CONFIGURE_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
41CONFIGURE_VARS+=HOSTCC="$(HOSTCC)" HOST_CFLAGS="$(HOST_CFLAGS)" HOST_CPPFLAGS="$(HOST_CPPFLAGS)"
42
43define Package/vitetris/install
44    $(INSTALL_DIR) $(1)/usr/bin
45    $(INSTALL_BIN) $(PKG_BUILD_DIR)/tetris $(1)/usr/bin/vitetris
46endef
47
48$(eval $(call BuildPackage,vitetris))
49

Archive Download this file



interactive