Cscope source code browser -initial port to OpenWRT.

This commit is contained in:
Jiri Brozovsky 2011-07-14 22:19:21 +02:00
parent 848173cb4a
commit 1ce048c327
1 changed files with 47 additions and 0 deletions

47
cscope/Makefile Normal file
View File

@ -0,0 +1,47 @@
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=cscope
PKG_VERSION:=15.7a
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/cscope
PKG_MD5SUM:=da43987622ace8c36bbf14c15a350ec1
PKG_CAT:=bzcat
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/cscope
SECTION:=utils
CATEGORY:=Utilities
TITLE:=C source code browser
URL:=http://cscope.sourceforge.net
DEPENDS:=+libncurses
endef
define Package/cscope/description
Cscope is a developer's tool for browsing source code.
endef
define Build/Compile
$(call Build/Compile/Default)
endef
define Package/cscope/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/cscope $(1)/usr/bin/
endef
$(eval $(call BuildPackage,cscope))