a4263808c4
I like to maintain incremental revisions of system configuration files and find rcs the easiest way to do so. To use rcs in OpenWrt, I created a package, following the OpenWrt package standards: http://cgi.sfu.ca/~jdbates/openwrt/brcm-2.4/packages/rcs_5.7-1_mipsel.ipk A diff against OpenWrt Subversion is inline below. I'd be delighted to be able to contribute this package to OpenWrt. https://dev.openwrt.org/ticket/2370 Signed-off-by: Jack Bates <ms419@freezone.co.uk> git-svn-id: svn://svn.openwrt.org/openwrt/packages@10359 3c298f89-4303-0410-b956-a3cf2f4a3e73
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
#
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
# $Id: Makefile 8659 2007-09-07 08:34:51Z nico $
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=rcs
|
|
PKG_VERSION:=5.7
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=@GNU/$(PKG_NAME)
|
|
PKG_MD5SUM:=4c8e896f2d2446fa593c6f1601a4fb75
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=utils
|
|
CATEGORY:=Utilities
|
|
TITLE:=The GNU Revision Control System
|
|
URL:=http://www.gnu.org/software/$(PKG_NAME)/
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/desctiption
|
|
The Revision Control System (RCS) manages multiple revisions of files. RCS
|
|
automates the storing, retrieval, logging, identification, and merging of
|
|
revisions. RCS is useful for text that is revised frequently, for example
|
|
programs, documentation, graphics, papers, and form letters.
|
|
endef
|
|
|
|
define Build/Compile
|
|
touch $(PKG_BUILD_DIR)/src/conf.h
|
|
$(call Build/Compile/Default)
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/{ci,co,ident,merge,rcs,rcsclean,rcsdiff,rcsmerge,rlog} $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/rcsfreeze.sh $(1)/usr/bin/rcsfreeze
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|