diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2006-11-25 09:06:24 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2006-11-25 09:06:24 +0000 |
commit | 8ac8974f9b2399c0e9a82e5b2340c1cc13e7b91a (patch) | |
tree | 7cd7e4dd6cd9c550576b4f92cda5f1d47a7f2ad5 /dev-util | |
parent | stable on alpha, bug #156008 (diff) | |
download | gentoo-2-8ac8974f9b2399c0e9a82e5b2340c1cc13e7b91a.tar.gz gentoo-2-8ac8974f9b2399c0e9a82e5b2340c1cc13e7b91a.tar.bz2 gentoo-2-8ac8974f9b2399c0e9a82e5b2340c1cc13e7b91a.zip |
added autoconf dependency, as reported by Wolfram Schlich <wschlich@gentoo.org> in bug #155731
(Portage version: 2.1.1-r2)
Diffstat (limited to 'dev-util')
-rw-r--r-- | dev-util/cscope/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/cscope/cscope-15.5.20060927-r1.ebuild | 61 | ||||
-rw-r--r-- | dev-util/cscope/files/digest-cscope-15.5.20060927-r1 | 3 |
3 files changed, 72 insertions, 1 deletions
diff --git a/dev-util/cscope/ChangeLog b/dev-util/cscope/ChangeLog index 6b80e8277b07..03e586f4de47 100644 --- a/dev-util/cscope/ChangeLog +++ b/dev-util/cscope/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-util/cscope # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v 1.76 2006/10/18 14:36:19 uberlord Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/ChangeLog,v 1.77 2006/11/25 09:06:24 opfer Exp $ + +*cscope-15.5.20060927-r1 (25 Nov 2006) + + 25 Nov 2006; Christian Faulhammer <opfer@gentoo.org> + +cscope-15.5.20060927-r1.ebuild: + added autoconf dependency, as reported by Wolfram Schlich + <wschlich@gentoo.org> in bug #155731 18 Oct 2006; Roy Marples <uberlord@gentoo.org> cscope-15.5.20060927.ebuild: diff --git a/dev-util/cscope/cscope-15.5.20060927-r1.ebuild b/dev-util/cscope/cscope-15.5.20060927-r1.ebuild new file mode 100644 index 000000000000..8ce4d8f2c348 --- /dev/null +++ b/dev-util/cscope/cscope-15.5.20060927-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cscope/cscope-15.5.20060927-r1.ebuild,v 1.1 2006/11/25 09:06:24 opfer Exp $ + +inherit gnuconfig elisp-common eutils + +DESCRIPTION="Interactively examine a C program" +HOMEPAGE="http://cscope.sourceforge.net/" +SRC_URI="mirror://gentoo/${P}.tar.gz" + +LICENSE="as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" +IUSE="emacs" + +RDEPEND=">=sys-libs/ncurses-5.2" +DEPEND="${RDEPEND} + sys-devel/flex + sys-devel/bison + >=sys-devel/autoconf-2.60 + emacs? ( virtual/emacs )" + +SITEFILE=50xcscope-gentoo.el + +src_compile() { + gnuconfig_update + + # This fix is no longer needed as of cscope-15.5 which now should + # work with bison directly. (04 Feb 2004 agriffis) + #sed -i -e "s:={:{:" src/egrep.y + + econf || die + make clean || die + emake || die + + if use emacs ; then + cd ${S}/contrib/xcscope || die + elisp-compile *.el || die + fi +} + +src_install() { + einstall || die + dodoc NEWS AUTHORS TODO ChangeLog INSTALL README* || die + + if use emacs ; then + cd ${S}/contrib/xcscope || die + elisp-install xcscope *.el *.elc || die + elisp-site-file-install ${FILESDIR}/${SITEFILE} xcscope || die + dobin cscope-indexer || die + fi + cp -r ${S}/contrib/webcscope ${D}/usr/share/doc/${PF}/ || die +} + +pkg_postinst() { + use emacs && elisp-site-regen +} + +pkg_postrm() { + use emacs && elisp-site-regen +} diff --git a/dev-util/cscope/files/digest-cscope-15.5.20060927-r1 b/dev-util/cscope/files/digest-cscope-15.5.20060927-r1 new file mode 100644 index 000000000000..228319fb0704 --- /dev/null +++ b/dev-util/cscope/files/digest-cscope-15.5.20060927-r1 @@ -0,0 +1,3 @@ +MD5 985ba6d33d84ac740d87e9affeabfb10 cscope-15.5.20060927.tar.gz 274045 +RMD160 13125578fe9e532220335de1b3d00d775f40447a cscope-15.5.20060927.tar.gz 274045 +SHA256 f8799f0a1f943837a5b0cbe07e6c7e2b2a017109508ae1b492e8eb470459f45a cscope-15.5.20060927.tar.gz 274045 |