OpenWrt packages
Sign in or create your account | Project List | Help
OpenWrt packages Git Source Tree
Root/
| 1 | include $(TOPDIR)/rules.mk |
| 2 | |
| 3 | PKG_NAME:=wtime |
| 4 | PKG_VERSION:=0.2 |
| 5 | PKG_RELEASE:=2 |
| 6 | |
| 7 | PKG_SOURCE:=wtime_0_2.tar.gz |
| 8 | PKG_SOURCE_URL:=@SF/wtime |
| 9 | PKG_MD5SUM:=59c2d41048706993ca260afcdab337c3 |
| 10 | PKG_CAT:=zcat |
| 11 | |
| 12 | PKG_BUILD_DIR:=$(BUILD_DIR)/wtime |
| 13 | |
| 14 | include $(INCLUDE_DIR)/package.mk |
| 15 | |
| 16 | define Package/wtime |
| 17 | SECTION:=utils |
| 18 | CATEGORY:=Utilities |
| 19 | DEPENDS:= |
| 20 | TITLE:=WTime time tracker |
| 21 | URL:=http://wtime.sourceforge.net |
| 22 | endef |
| 23 | |
| 24 | define Package/wtime/description |
| 25 | Time tracking command-line utility. |
| 26 | endef |
| 27 | |
| 28 | define Build/Configure |
| 29 | $(call Build/Compile/Default, \ |
| 30 | ) |
| 31 | endef |
| 32 | |
| 33 | |
| 34 | define Package/wtime/install |
| 35 | $(INSTALL_DIR) $(1)/usr/bin/ |
| 36 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/wtime $(1)/usr/bin/ |
| 37 | $(INSTALL_DIR) $(1)/root/.wtimed/ |
| 38 | $(INSTALL_DIR) $(1)/usr/share/ |
| 39 | $(INSTALL_DIR) $(1)/usr/share/wtime/ |
| 40 | $(INSTALL_BIN) $(PKG_BUILD_DIR)/LICENCE $(1)/usr/share/wtime/ |
| 41 | endef |
| 42 | |
| 43 | $(eval $(call BuildPackage,wtime)) |
| 44 |
