mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
29 lines
884 B
Bash
29 lines
884 B
Bash
# $Id: PKGBUILD 44454 2009-07-02 05:50:34Z allan $
|
|
# Contributor: John Proctor <jproctor@prium.net>
|
|
# Maintainer: Juergen Hoetzel <juergen@archlinux.org>
|
|
|
|
pkgname=swi-prolog
|
|
pkgver=5.6.64
|
|
pkgrel=3
|
|
pkgdesc="Prolog environment"
|
|
arch=(i686 x86_64)
|
|
url="http://www.swi-prolog.org/"
|
|
depends=('gmp' 'readline')
|
|
license=('GPL')
|
|
makedepends=('libxft' 'libjpeg>=7' 'unixodbc' 'openssl' 'libxpm' 'libxinerama')
|
|
options=('!makeflags')
|
|
source=(http://gollem.science.uva.nl/cgi-bin/nph-download/SWI-Prolog/pl-$pkgver.tar.gz
|
|
'gcc4.3.patch')
|
|
md5sums=('2f06f64007fdac076a277ee4a8c53274'
|
|
'33a4ba4cd4fa4ba1b0ad0b2c6355de52')
|
|
|
|
build() {
|
|
cd $srcdir/pl-$pkgver
|
|
sed '/LD_RUN_PATH/d' -i packages/xpce/pl/src/Makefile
|
|
|
|
patch -Np1 -i $srcdir/gcc4.3.patch
|
|
|
|
./configure --with-world --prefix=/usr --enable-gmp
|
|
make DESTDIR=$pkgdir world install || return 1
|
|
rm -rf $pkgdir/usr/man/man3
|
|
}
|