From 3099cac48f0f559f2f0b852fa0cbbbfe5f6cc1d3 Mon Sep 17 00:00:00 2001 From: Gerasim Troeglazov <3dEyes@gmail.com> Date: Tue, 29 Sep 2020 10:44:28 +1000 Subject: [PATCH] gputils: add recipe --- dev-embedded/gputils/gputils-1.5.0.recipe | 52 +++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 dev-embedded/gputils/gputils-1.5.0.recipe diff --git a/dev-embedded/gputils/gputils-1.5.0.recipe b/dev-embedded/gputils/gputils-1.5.0.recipe new file mode 100644 index 000000000..44c3a27c5 --- /dev/null +++ b/dev-embedded/gputils/gputils-1.5.0.recipe @@ -0,0 +1,52 @@ +SUMMARY="Tools including assembler, linker and librarian for PIC microcontrollers" +DESCRIPTION="GPUTILS is a collection of tools for the Microchip (TM) PIC microcontrollers. \ +It includes gpasm, gplink, and gplib. It's distributed under the terms of the GNU Public Li\ +cense. There are other GNU PIC tools available such as gpsim, a gputils compatible simulator." +HOMEPAGE="https://gputils.sourceforge.io/" +COPYRIGHT="Craig Franklin, James Bowman" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://sourceforge.net/projects/gputils/files/gputils/$portVersion/gputils-$portVersion-1.tar.bz2" +CHECKSUM_SHA256="6f88a018e85717b57a22f27a0ca41b2157633a82351f7755be92e2d7dc40bb14" + +ARCHITECTURES="x86_gcc2 x86_64" + +PROVIDES=" + gputils = $portVersion + cmd:gpasm + cmd:gpdasm + cmd:gplib + cmd:gplink + cmd:gpstrip + cmd:gpvc + cmd:gpvo + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:automake + cmd:autoreconf + cmd:gawk + cmd:gcc + cmd:make + " + +BUILD() +{ + aclocal + automake --add-missing + autoreconf -f + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install +}