cruxports/sbcl/Pkgfile

28 lines
823 B
Plaintext
Raw Normal View History

2022-03-09 17:01:59 -05:00
# Description: Steel Bank Common Lisp
# URL: http://www.sbcl.org/
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: zlib clisp
# Optional: texinfo
name=sbcl
2024-04-09 14:47:41 -04:00
version=2.4.3
2022-03-09 17:01:59 -05:00
release=1
source=(https://prdownloads.sourceforge.net/$name/$name-$version-source.tar.bz2)
build() {
cd $name-$version
export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl"
export LINKFLAGS="$LDFLAGS"
bash make.sh \
2024-04-09 14:47:41 -04:00
--xc-host=clisp \
--without-sb-test --with-sb-core-compression --prefix=/usr
2022-03-09 17:01:59 -05:00
prt-get isinst texinfo && make -C ./doc/manual info
SBCL_HOME="" INSTALL_ROOT="$PKG/usr" sh install.sh
make PREFIX=/usr DESTDIR=$PKG install
2023-02-11 21:45:03 -05:00
rm -rf $PKG/usr/share/info
2022-03-09 17:01:59 -05:00
rm -f $PKG/usr/share/doc/$name/{BUGS,CREDITS,COPYING,NEWS}
2023-02-11 21:45:03 -05:00
prt-get isinst texinfo || rm -rf $PKG/usr/share/doc
2022-03-09 17:01:59 -05:00
}