Change Details
tinygl/Makefile |
| 1 | # |
| 2 | # Copyright (C) Xiangfu Liu <xiangfu@sharism.cc> |
| 3 | # |
| 4 | # License GPLv2 or later. NO WARRANTY. |
| 5 | # |
| 6 | |
| 7 | include $(TOPDIR)/rules.mk |
| 8 | |
| 9 | PKG_NAME:=tinygl |
| 10 | PKG_VERSION:=0.4 |
| 11 | PKG_SOURCE:=TinyGL-$(PKG_VERSION).tar.gz |
| 12 | PKG_SOURCE_URL:=http://bellard.org/TinyGL/ |
| 13 | PKG_RELEASE:=1 |
| 14 | PKG_INSTALL:=1 |
| 15 | PKG_BUILD_DIR:=$(BUILD_DIR)/TinyGL |
| 16 | |
| 17 | include $(INCLUDE_DIR)/package.mk |
| 18 | |
| 19 | define Package/tinygl |
| 20 | TITLE:=Tinygl |
| 21 | SECTION:=utils |
| 22 | CATEGORY:=Utilities |
| 23 | URL:=http://bellard.org/TinyGL/ |
| 24 | DEPENDS:=@BROKEN |
| 25 | #depends on X11 |
| 26 | endef |
| 27 | |
| 28 | define Package/tinygl/description |
| 29 | endef |
| 30 | |
| 31 | define Build/Configure |
| 32 | $(call Build/Configure/Default) |
| 33 | endef |
| 34 | |
| 35 | define Build/Compile |
| 36 | $(call Build/Compile/Default) |
| 37 | endef |
| 38 | |
| 39 | define Build/Install |
| 40 | $(call Build/Install/Default) |
| 41 | endef |
| 42 | |
| 43 | define Package/tinygl/install |
| 44 | $(INSTALL_DIR) /usr/bin/ |
| 45 | endef |
| 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: |
Download the corresponding diff file