Files
haikuports/dev-util/global/global-6.2.9.recipe
2013-10-16 17:02:11 -06:00

78 lines
1.8 KiB
Plaintext

SUMMARY="GNU Global is a source code tagging system."
DESCRIPTION="
GNU GLOBAL is a source code tagging system that works the same way
across diverse environments (emacs, vi, less, bash, web browser, etc).
You can locate symbols in source files and move there easily. It is
useful for hacking a large project containing many sub-directories,
many #ifdef and many main() functions. It is similar to ctags or
etags but is different from them at the point of independence of any
editor. It runs on a UNIX(POSIX) compatible operating system like GNU
and BSD."
HOMEPAGE="http://www.gnu.org/software/global/"
SRC_URI="http://ftp.gnu.org/pub/gnu/global/global-6.2.9.tar.gz"
CHECKSUM_MD5="39a1dd6e537929b66600b9e54aae1a6b"
REVISION="1"
LICENSE="GNU GPL v3"
COPYRIGHT="2000-2013 Tama Communications Corporation
2007-2013 Free Software Foundation, Inc."
SOURCE_DIR="$portVersionedName"
ARCHITECTURES="x86 x86_gcc2"
PATCHES="global-6.2.9.patch"
PROVIDES="
global = $portVersion compat >= 6.2
cmd:global = $portVersion compat >= 6.2
cmd:gtags = $portVersion compat >= 6.2
cmd:globash = $portVersion compat >= 6.2
cmd:gozilla = $portVersion compat >= 6.2
cmd:gtags_cscope = $portVersion compat >= 6.2
cmd:htags = $portVersion compat >= 6.2
"
REQUIRES="
haiku >= $haikuVersion
ncurses
cmd:ctags
cmd:sort
lib:libltdl
"
BUILD_REQUIRES="
devel:libncurses
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:autoreconf
cmd:aclocal
cmd:autoconf
cmd:libtool
cmd:gcc
cmd:make
cmd:ld
cmd:find
cmd:sed
cmd:grep
cmd:perl
cmd:ctags
cmd:sort
"
BUILD()
{
autoreconf -fi
runConfigure ./configure \
--with-ncurses \
--with-exuberant-ctags=${packageLinksDir}/cmd~ctags/bin/ctags \
--with-posix-sort=${packageLinksDir}/cmd~sort/bin/sort
make
}
INSTALL()
{
make install
}