summaryrefslogtreecommitdiff
path: root/dev-lang/clips/clips-6.40.ebuild
blob: c4e612220dc0fac066d9356d44064341cfcddb66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit toolchain-funcs

DESCRIPTION="Tool for building Expert Systems (native version)"
HOMEPAGE="http://www.clipsrules.net/"

CLPN="clips_core_source_$(ver_cut 1)$(ver_cut 2)"
SRC_URI="https://sourceforge.net/projects/clipsrules/files/CLIPS/${PV}/${CLPN}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${CLPN}/core"

LICENSE="public-domain"
KEYWORDS="amd64 ~x86"
SLOT="0"

PATCHES=( "${FILESDIR}/${PN}-makefile-remove_hardcoded.patch" )

src_prepare() {
	tc-export AR CC
	default
}

src_compile() {
	emake -f makefile
}

src_install() {
	dobin clips
	dolib.a libclips.a
}