Root/gcal/Makefile

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/
23    DEPENDS:=+libncurses
24endef
25
26define Package/gcal/description
27    GNU version of unix calendar program cal(1).
28endef
29
30define Build/Configure
31    $(call Build/Configure/Default, \
32        --prefix=/usr --with-linux-headers="$(LINUX_DIR)" \
33    )
34endef
35
36define Package/gcal/install
37    $(INSTALL_DIR) $(1)/usr/bin/
38    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcal $(1)/usr/bin/
39    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/gcal2txt $(1)/usr/bin/
40    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/txt2gcal $(1)/usr/bin/
41    $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/tcal $(1)/usr/bin/
42endef
43
44$(eval $(call BuildPackage,gcal))
45

Archive Download this file



interactive