2012-11-21 14:41:06 +01:00
|
|
|
# Copyright (c) 2012 Denis Knauf
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2013-03-09 14:47:29 +01:00
|
|
|
AN=pl-${PV}
|
2012-11-21 14:41:06 +01:00
|
|
|
|
|
|
|
SUMMARY="SWI-Prolog offers a comprehensive Free Software Prolog environment"
|
|
|
|
HOMEPAGE="http://www.swi-prolog.org/"
|
|
|
|
DOWNLOADS="http://www.swi-prolog.org/download/stable/src/${AN}.tar.gz"
|
|
|
|
SLOT="0"
|
|
|
|
LICENCES="GPL-2 LGPL-2"
|
2013-03-09 14:47:29 +01:00
|
|
|
PLATFORMS="~amd64 ~x86"
|
2012-11-21 14:41:06 +01:00
|
|
|
DEPENDENCIES=""
|
|
|
|
|
|
|
|
MYOPTIONS=""
|
2013-03-09 14:47:29 +01:00
|
|
|
WORK=${WORKBASE}/${AN}
|
2012-11-21 14:41:06 +01:00
|
|
|
|
2012-11-21 17:47:09 +01:00
|
|
|
src_configure() {
|
2013-03-09 15:32:00 +01:00
|
|
|
env
|
|
|
|
econf --libdir="/usr/${LIBDIR}"
|
2012-11-21 17:47:09 +01:00
|
|
|
}
|
|
|
|
|
2012-11-21 14:41:06 +01:00
|
|
|
src_install() {
|
2013-03-09 15:32:00 +01:00
|
|
|
keepdir /usr/${LIBDIR}/swipl-${PV}/library/dialect/ifprolog
|
|
|
|
default
|
2012-11-21 14:41:06 +01:00
|
|
|
}
|