37 lines
877 B
Plaintext
Raw Normal View History

2006-11-20 07:26:53 +10:00
# Description: A comprehensive Free Software Prolog environment
# URL: http://www.swi-prolog.org/
# Packager: Younes Hafri <ycrux@club-internet.fr>
2007-01-20 12:21:06 +10:00
# Maintainer: James Mills, prologic at shortcircuit dot net dot au
2006-11-20 07:26:53 +10:00
#
# Depends on: x11, jdk
2006-11-14 09:01:22 +10:00
name=swi-prolog
version=5.6.12
release=1
source=(http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-$version.tar.gz \
2006-11-20 07:26:53 +10:00
http://turing.ubishops.ca/home/bruda/emacs-prolog/prolog.el.gz)
2006-11-14 09:01:22 +10:00
build () {
2006-11-20 07:26:53 +10:00
cd pl-$version/src
2006-11-14 09:01:22 +10:00
2006-11-20 07:26:53 +10:00
./configure \
--prefix=/usr \
--enable-mt \
--with-world\
--enable-readline \
--enable-largefile
2006-11-14 09:01:22 +10:00
2006-11-20 07:26:53 +10:00
make && make prefix=$PKG/usr install
cd ../packages
2006-11-14 09:01:22 +10:00
2006-11-20 07:26:53 +10:00
./configure \
--prefix=/usr \
--enable-mt \
--with-world\
--enable-readline \
--enable-largefile
2006-11-14 09:01:22 +10:00
2006-11-20 07:26:53 +10:00
make && make prefix=$PKG/usr install
chown -R root:root $PKG
2006-11-14 09:01:22 +10:00
}