Root/wtime/Makefile

1include $(TOPDIR)/rules.mk
2
3PKG_NAME:=wtime
4PKG_VERSION:=0.2
5PKG_RELEASE:=2
6
7PKG_SOURCE:=wtime_0_2.tar.gz
8PKG_SOURCE_URL:=@SF/wtime
9PKG_MD5SUM:=59c2d41048706993ca260afcdab337c3
10PKG_CAT:=zcat
11
12PKG_BUILD_DIR:=$(BUILD_DIR)/wtime
13
14include $(INCLUDE_DIR)/package.mk
15
16define Package/wtime
17    SECTION:=utils
18    CATEGORY:=Utilities
19    DEPENDS:=
20    TITLE:=WTime time tracker
21    URL:=http://wtime.sourceforge.net
22endef
23
24define Package/wtime/description
25  Time tracking command-line utility.
26endef
27
28define Build/Configure
29        $(call Build/Compile/Default, \
30        )
31endef
32
33
34define 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/
41endef
42
43$(eval $(call BuildPackage,wtime))
44

Archive Download this file



interactive