Root/tinygl/Makefile

1#
2# Copyright (C) Xiangfu Liu <xiangfu@sharism.cc>
3# This is free software, licensed under the GNU General Public License v2.
4# See /LICENSE for more information.
5#
6
7include $(TOPDIR)/rules.mk
8
9PKG_NAME:=tinygl
10PKG_VERSION:=0.4
11PKG_SOURCE:=TinyGL-$(PKG_VERSION).tar.gz
12PKG_SOURCE_URL:=http://bellard.org/TinyGL/
13PKG_RELEASE:=1
14PKG_INSTALL:=1
15PKG_BUILD_DIR:=$(BUILD_DIR)/TinyGL
16
17include $(INCLUDE_DIR)/package.mk
18
19define Package/tinygl
20  TITLE:=Tinygl
21  SECTION:=utils
22  CATEGORY:=Utilities
23  URL:=http://bellard.org/TinyGL/
24  DEPENDS:=@BROKEN
25#depends on X11
26endef
27
28define Package/tinygl/description
29endef
30
31define Build/Configure
32    $(call Build/Configure/Default)
33endef
34
35define Build/Compile
36    $(call Build/Compile/Default)
37endef
38
39define Build/Install
40    $(call Build/Install/Default)
41endef
42
43define Package/tinygl/install
44    $(INSTALL_DIR) /usr/bin/
45endef
46
47$(eval $(call BuildPackage,tinygl))
48
49# The following comments configure the Tinygl editor. Just ignore them.
50# Local Variables:
51# compile-command: "make -C ~/openwrt-xburst.full_system package/tinygl/{clean,compile} V=99"
52# End:
53

Archive Download this file



interactive