summaryrefslogtreecommitdiff
path: root/wtime/Makefile
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2011-01-02 23:27:23 +0100
commit9352995934adec8059077af241c35ccd1573bd80 (patch)
tree60286e266b3b31b90b952ac37e12a1ebbcdd2eb6 /wtime/Makefile
parentef3b84d78197acbd45d73a9b1ae44b47b5904290 (diff)
parent880bca260c4ce91554a49b2475232cf5c0ffd447 (diff)
downloadqipackages-fork-9352995934adec8059077af241c35ccd1573bd80.tar.gz
Merge branch 'master' of git://projects.qi-hardware.com/openwrt-packagesHEADmaster
Conflicts: links/Makefile
Diffstat (limited to 'wtime/Makefile')
-rw-r--r--wtime/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/wtime/Makefile b/wtime/Makefile
new file mode 100644
index 0000000..640fce8
--- /dev/null
+++ b/wtime/Makefile
@@ -0,0 +1,43 @@
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:=wtime
+PKG_VERSION:=0.2
+PKG_RELEASE:=2
+
+PKG_SOURCE:=wtime_0_2.tar.gz
+PKG_SOURCE_URL:=@SF/wtime
+PKG_MD5SUM:=59c2d41048706993ca260afcdab337c3
+PKG_CAT:=zcat
+
+PKG_BUILD_DIR:=$(BUILD_DIR)/wtime
+
+include $(INCLUDE_DIR)/package.mk
+
+define Package/wtime
+ SECTION:=utils
+ CATEGORY:=Utilities
+ DEPENDS:=
+ TITLE:=WTime time tracker
+ URL:=http://wtime.sourceforge.net
+endef
+
+define Package/wtime/description
+ Time tracking command-line utility.
+endef
+
+define Build/Configure
+ $(call Build/Compile/Default, \
+ )
+endef
+
+
+define Package/wtime/install
+ $(INSTALL_DIR) $(1)/usr/bin/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/wtime $(1)/usr/bin/
+ $(INSTALL_DIR) $(1)/root/.wtimed/
+ $(INSTALL_DIR) $(1)/usr/share/
+ $(INSTALL_DIR) $(1)/usr/share/wtime/
+ $(INSTALL_BIN) $(PKG_BUILD_DIR)/LICENCE $(1)/usr/share/wtime/
+endef
+
+$(eval $(call BuildPackage,wtime))