summaryrefslogtreecommitdiff
blob: e547eb9713556f2d0e707855e6b37ec0c2753fb9 (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-2021 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
}