0
0
Fork 0
haikuports/dev-util/idutils/idutils-4.6.recipe

63 lines
1.7 KiB
Bash

SUMMARY="Fast, high-capacity, identifier database tool"
DESCRIPTION="An 'ID database' is a binary file containing a list of file \
names, a list of tokens, and a sparse matrix indicating which tokens appear in \
which files.
With this database and some tools to query it, many text-searching tasks \
become simpler and faster. For example, you can list all files that reference \
a particular #include' file throughout a huge source hierarchy, search for all \
the memos containing references to a project, or automatically invoke an \
editor on all files containing references to some function or variable. Anyone \
with a large software project to maintain, or a large set of text files to \
organize, can benefit from the ID utilities."
HOMEPAGE="http://www.gnu.org/software/idutils/"
COPYRIGHT="1986-2012 Free Software Foundation, Inc."
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://ftp.gnu.org/gnu/idutils/idutils-4.6.tar.xz"
CHECKSUM_SHA256="8181f43a4fb62f6f0ccf3b84dbe9bec71ecabd6dfdcf49c6b5584521c888aac2"
PATCHES="idutils-4.6.patchset"
ARCHITECTURES="x86 x86_gcc2"
PROVIDES="
idutils = $portVersion compat >= 4
cmd:aid = $portVersion compat >= 4
cmd:defid = $portVersion compat >= 4
cmd:eid = $portVersion compat >= 4
cmd:fid = $portVersion compat >= 4
cmd:fnid = $portVersion compat >= 4
cmd:gid = $portVersion compat >= 4
cmd:lid = $portVersion compat >= 4
cmd:mkid = $portVersion compat >= 4
cmd:xtokid = $portVersion compat >= 4
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:gawk
cmd:gcc
cmd:grep
cmd:ld
cmd:libtool
cmd:make
cmd:perl
"
BUILD()
{
libtoolize --force --copy --install
runConfigure ./configure
make
}
INSTALL()
{
make install
rm $libDir/charset.alias
}