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
22endef
23
24define Package/vitetris/description
25    vitetris is a terminal-based Tetris clone by Victor Nilsson. It can also run in graphics mode using the Allegro library
26endef
27
28CONFIGURE_ARGS= \
29    --without-xlib \
30    --without-joystick \
31    --with-2player \
32    --with-network \
33    --with-curses \
34    --without-allegro \
35    --with-term_resizing \
36    --with-menu \
37    --with-blockstyles \
38    --with-pctimer
39
40CONFIGURE_VARS+=HOSTCC="$(HOSTCC)" HOST_CFLAGS="$(HOST_CFLAGS)" HOST_CPPFLAGS="$(HOST_CPPFLAGS)"
41
42define Package/vitetris/install
43    $(INSTALL_DIR) $(1)/usr/bin
44    $(INSTALL_BIN) $(PKG_BUILD_DIR)/tetris $(1)/usr/bin/vitetris
45endef
46
47$(eval $(call BuildPackage,vitetris))
48

Archive Download this file



interactive