ccl: update to 1.12.

This commit is contained in:
rc-05 2020-03-10 13:38:21 +01:00 committed by Piotr
parent e0b19884e3
commit 08d1b86d9d

View file

@ -1,19 +1,26 @@
# Template file for 'ccl'
pkgname=ccl pkgname=ccl
version=1.11.5 version=1.12
revision=2 revision=1
wrksrc="ccl"
archs="i686* x86_64*" archs="i686* x86_64*"
build_style=gnu-makefile create_wrksrc=yes
hostmakedepends="m4" hostmakedepends="m4"
short_desc="Clozure Common Lisp interpreter and compiler" short_desc="Clozure Common Lisp interpreter and compiler"
maintainer="Ankur Kothari <ankz.kothari@gmail.com>" maintainer="rc-05 <rc23@email.it>"
license="Apache-2.0" license="Apache-2.0"
homepage="http://ccl.clozure.com/" homepage="https://ccl.clozure.com/"
distfiles="https://github.com/Clozure/ccl/releases/download/v${version}/${pkgname}-${version}-linuxx86.tar.gz" distfiles="
checksum=b80850d8d6ca8662499975f1cd76bf51affdd29e2025796ddcff6576fe704143 https://github.com/Clozure/ccl/archive/v${version}.tar.gz
https://github.com/Clozure/ccl/releases/download/v${version}/linuxx86.tar.gz
"
checksum="
774a06b4fb6dc4b51dfb26da8e1cc809c605e7706c12180805d1be6f2885bd52
7fbdb04fb1b19f0307c517aa5ee329cb4a21ecc0a43afd1b77531e4594638796
"
nopie=1 nopie=1
nostrip=1 nostrip=1
disable_parallel_build=1 disable_parallel_build=1
python_version=3
case $XBPS_MACHINE in case $XBPS_MACHINE in
x86_64*) _arch=64 ;; x86_64*) _arch=64 ;;
@ -21,6 +28,10 @@ case $XBPS_MACHINE in
*) _arch='' ;; *) _arch='' ;;
esac esac
post_extract() {
mv ccl-${version}/* .
}
do_build() { do_build() {
# recompile kernel, mandatory for musl # recompile kernel, mandatory for musl
cd "lisp-kernel/linuxx86${_arch:-32}" cd "lisp-kernel/linuxx86${_arch:-32}"
@ -31,7 +42,6 @@ do_build() {
} }
do_install() { do_install() {
find . -type d -name .svn -exec rm -rf '{}' + find . -type d -name .svn -exec rm -rf '{}' +
find . -name '*.o' -delete find . -name '*.o' -delete
find . -name '*.*fsl' -delete find . -name '*.*fsl' -delete
@ -58,6 +68,4 @@ EOF
vmkdir usr/share/examples/$pkgname vmkdir usr/share/examples/$pkgname
vcopy "examples/*" usr/share/examples/$pkgname vcopy "examples/*" usr/share/examples/$pkgname
} }