4ed731dddcd50e5b956787bb8b5c6190e073b850
[openwrt/svn-archive/archive.git] / utils / rcs / Makefile
1 #
2 # Copyright (C) 2006 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id: Makefile 8659 2007-09-07 08:34:51Z nico $
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=rcs
12 PKG_VERSION:=5.7
13 PKG_RELEASE:=1
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
17 PKG_MD5SUM:=4c8e896f2d2446fa593c6f1601a4fb75
18
19 include $(INCLUDE_DIR)/package.mk
20
21 define Package/$(PKG_NAME)
22 SECTION:=utils
23 CATEGORY:=Utilities
24 TITLE:=The GNU Revision Control System
25 URL:=http://www.gnu.org/software/$(PKG_NAME)/
26 endef
27
28 define Package/$(PKG_NAME)/desctiption
29 The Revision Control System (RCS) manages multiple revisions of files. RCS
30 automates the storing, retrieval, logging, identification, and merging of
31 revisions. RCS is useful for text that is revised frequently, for example
32 programs, documentation, graphics, papers, and form letters.
33 endef
34
35 define Build/Compile
36 touch $(PKG_BUILD_DIR)/src/conf.h
37 $(call Build/Compile/Default)
38 endef
39
40 define Package/$(PKG_NAME)/install
41 $(INSTALL_DIR) $(1)/usr/bin
42 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{ci,co,ident,merge,rcs,rcsclean,rcsdiff,rcsmerge,rlog} $(1)/usr/bin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rcsfreeze.sh $(1)/usr/bin/rcsfreeze
44 endef
45
46 $(eval $(call BuildPackage,$(PKG_NAME)))