Root/gcal/Makefile

Source at commit 23a56946e486bd43296d9e8ea26202a8c7b6cc43 created 9 years 9 months ago.
By Xiangfu Liu, [gcal] update to 3.6, thanks to Otmar Struwe
1# $Id: Makefile 5624 2006-11-23 00:29:07Z nbd $
2
3include $(TOPDIR)/rules.mk
4
5PKG_NAME:=gcal
6PKG_VERSION:=3.6
7PKG_RELEASE:=1
8
9PKG_SOURCE:=gcal-$(PKG_VERSION).tar.gz
10PKG_SOURCE_URL:=ftp://ftp.gnu.org/pub/gnu/gcal/
11PKG_MD5SUM:=9c3819ca118d6e3adb6a716858cba7d6
12PKG_CAT:=zcat
13
14PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
15
16include $(INCLUDE_DIR)/package.mk
17
18define Package/gcal
19    SECTION:=utils
20    CATEGORY:=Utilities
21    TITLE:=GCal
22    URL:=http://www.gnu.org/software/gcal/
23endef
24
25define Package/gcal/description
26    GNU version of unix calendar program cal(1).
27endef
28
29define Build/Configure
30    $(call Build/Configure/Default, \
31        --prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
32    )
33endef
34
35define Package/gcal/install
36    $(INSTALL_DIR) $(1)/usr/bin/
37    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcal $(1)/usr/bin/
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcal2txt $(1)/usr/bin/
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/txt2gcal $(1)/usr/bin/
40    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tcal $(1)/usr/bin/
41endef
42
43$(eval $(call BuildPackage,gcal))
44

Archive Download this file



interactive