1SUMMARY="Tools including assembler, linker and librarian for PIC microcontrollers"
2DESCRIPTION="GPUTILS is a collection of tools for the Microchip (TM) PIC microcontrollers. \
3It includes gpasm, gplink, and gplib. It's distributed under the terms of the GNU Public Li\
4cense. There are other GNU PIC tools available such as gpsim, a gputils compatible simulator."
5HOMEPAGE="https://gputils.sourceforge.io/"
6COPYRIGHT="Craig Franklin, James Bowman"
7LICENSE="GNU GPL v2"
8REVISION="2"
9SOURCE_URI="https://sourceforge.net/projects/gputils/files/gputils/$portVersion/gputils-$portVersion-1.tar.bz2"
10CHECKSUM_SHA256="6f88a018e85717b57a22f27a0ca41b2157633a82351f7755be92e2d7dc40bb14"
11PATCHES="gputils-$portVersion.patchset"
12
13ARCHITECTURES="all"
14
15PROVIDES="
16	gputils = $portVersion
17	cmd:gpasm
18	cmd:gpdasm
19	cmd:gplib
20	cmd:gplink
21	cmd:gpstrip
22	cmd:gpvc
23	cmd:gpvo
24	"
25REQUIRES="
26	haiku
27	"
28
29BUILD_REQUIRES="
30	haiku_devel
31	"
32BUILD_PREREQUIRES="
33	cmd:aclocal
34	cmd:automake
35	cmd:autoreconf
36	cmd:gawk
37	cmd:gcc
38	cmd:make
39	"
40
41BUILD()
42{
43	aclocal
44	automake --add-missing
45	autoreconf -f
46	runConfigure ./configure
47	make $jobArgs
48}
49
50INSTALL()
51{
52	make install
53}
54