mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 17:47:13 +08:00
35 lines
1.1 KiB
Bash
35 lines
1.1 KiB
Bash
#
|
|
# Platform Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
# include global config
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
pkgname=clisp
|
|
pkgver=2.49
|
|
pkgrel=1
|
|
pkgdesc="ANSI Common Lisp interpreter, compiler and debugger"
|
|
arch=('i686' 'x86_64')
|
|
license=('GPL')
|
|
url="http://clisp.cons.org/"
|
|
depends=('readline' 'libsigsegv')
|
|
provides=('common-lisp')
|
|
makedepends=('ffcall')
|
|
options=('!makeflags')
|
|
source=(http://downloads.sourceforge.net/sourceforge/clisp/clisp-${pkgver}.tar.bz2)
|
|
md5sums=('1962b99d5e530390ec3829236d168649')
|
|
|
|
build() {
|
|
cd $srcdir/${pkgname}-${pkgver}
|
|
unset CFLAGS CXXFLAGS
|
|
./configure --prefix=/usr --with-readline --with-ffcall src
|
|
cd src
|
|
./makemake --prefix=/usr --with-readline --with-ffcall --with-dynamic-ffi > Makefile
|
|
make || return 1
|
|
sed -i 's,http://www.lisp.org/HyperSpec/,http://www.lispworks.com/reference/HyperSpec/,g' config.lisp
|
|
make || return 1
|
|
make DESTDIR=$pkgdir install || return 1
|
|
}
|