# Template file for 'cscope'
pkgname=cscope
version=15.8b
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="ncurses-devel"
short_desc="Interactively examine a C program"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="BSD"
homepage="http://cscope.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
checksum=4889d091f05aa0845384b1e4965aa31d2b20911fb2c001b2cdcffbcb7212d3af

post_install() {
	vlicense COPYING
	cd contrib/xcscope
	vbin cscope-indexer
	vmkdir usr/share/emacs/site-lisp
	vinstall xcscope.el 644 usr/share/emacs/site-lisp
}