From b15b149ac68c370fd8180ebe02400199a58e2004 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Arroyo=20Calle?= Date: Sun, 3 Feb 2019 19:24:05 +0100 Subject: [PATCH] Add CLIPS (#3573) --- dev-lang/clips/clips-6.30.recipe | 44 ++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 dev-lang/clips/clips-6.30.recipe diff --git a/dev-lang/clips/clips-6.30.recipe b/dev-lang/clips/clips-6.30.recipe new file mode 100644 index 000000000..b9a5007bd --- /dev/null +++ b/dev-lang/clips/clips-6.30.recipe @@ -0,0 +1,44 @@ +SUMMARY="C Language Integrated Production System" +DESCRIPTION="CLIPS is an OPS-like forward chaining production system \ +written in ANSI C by NASA. The CLIPS inference engine \ +includes truth maintenance, dynamic rule addition, and \ +customizable conflict resolution strategies." +HOMEPAGE="http://www.clipsrules.net" +COPYRIGHT="1985-2015, NASA, Gary Riley" +LICENSE="MIT" +REVISION="1" +SOURCE_URI="http://sourceforge.net/projects/clipsrules/files/CLIPS/6.30/clips_core_source_630.zip" +CHECKSUM_SHA256="01555b257efae281199b82621ad5cc1106a395acc095b9ba66f40fe50fe3ef1c" +SOURCE_DIR="clips_core_source_630" + +ARCHITECTURES="x86_gcc2 ?x86 x86_64" + +PROVIDES=" + clips = $portVersion + cmd:clips + " +REQUIRES=" + haiku + " + +BUILD_REQUIRES=" + haiku_devel + " +BUILD_PREREQUIRES=" + cmd:gcc + cmd:ld + cmd:make + " + +BUILD() +{ + cp makefiles/makefile.gcc core/ + cd core + make -f makefile.gcc +} + +INSTALL() +{ + mkdir -p $binDir + cp core/clips $binDir +}