1SUMMARY="Fast, high-capacity, identifier database tool"
2DESCRIPTION="An 'ID database' is a binary file containing a list of file \
3names, a list of tokens, and a sparse matrix indicating which tokens appear in \
4which files.
5With this database and some tools to query it, many text-searching tasks \
6become simpler and faster. For example, you can list all files that reference \
7a particular #include' file throughout a huge source hierarchy, search for all \
8the memos containing references to a project, or automatically invoke an \
9editor on all files containing references to some function or variable. Anyone \
10with a large software project to maintain, or a large set of text files to \
11organize, can benefit from the ID utilities."
12HOMEPAGE="http://www.gnu.org/software/idutils/"
13COPYRIGHT="1986-2012 Free Software Foundation, Inc."
14LICENSE="GNU GPL v2"
15REVISION="2"
16SOURCE_URI="http://ftp.gnu.org/gnu/idutils/idutils-4.6.tar.xz"
17CHECKSUM_SHA256="8181f43a4fb62f6f0ccf3b84dbe9bec71ecabd6dfdcf49c6b5584521c888aac2"
18PATCHES="idutils-4.6.patchset"
19
20ARCHITECTURES="x86 x86_gcc2"
21
22PROVIDES="
23	idutils = $portVersion compat >= 4
24	cmd:aid = $portVersion compat >= 4
25	cmd:defid = $portVersion compat >= 4
26	cmd:eid = $portVersion compat >= 4
27	cmd:fid = $portVersion compat >= 4
28	cmd:fnid = $portVersion compat >= 4
29	cmd:gid = $portVersion compat >= 4
30	cmd:lid = $portVersion compat >= 4
31	cmd:mkid = $portVersion compat >= 4
32	cmd:xtokid = $portVersion compat >= 4
33	"
34REQUIRES="
35	haiku
36	"
37
38BUILD_REQUIRES="
39	haiku_devel
40	"
41BUILD_PREREQUIRES="
42	cmd:gawk
43	cmd:gcc
44	cmd:grep
45	cmd:ld
46	cmd:libtool
47	cmd:make
48	cmd:perl
49	"
50
51BUILD()
52{
53	libtoolize --force --copy --install
54	runConfigure ./configure
55	make
56}
57
58INSTALL()
59{
60	make install
61	rm $libDir/charset.alias
62}
63