From 5b4a95182f96d20ecd5a55c5aabaf7349c0a2920 Mon Sep 17 00:00:00 2001 From: rc-05 Date: Tue, 10 Mar 2020 13:38:21 +0100 Subject: [PATCH] ccl: update to 1.12. --- srcpkgs/ccl/template | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/srcpkgs/ccl/template b/srcpkgs/ccl/template index 9c982901491..ed386c197ee 100644 --- a/srcpkgs/ccl/template +++ b/srcpkgs/ccl/template @@ -1,19 +1,19 @@ +# Template file for 'ccl' pkgname=ccl -version=1.11.5 -revision=2 -wrksrc="ccl" +version=1.12 +revision=1 archs="i686* x86_64*" -build_style=gnu-makefile -hostmakedepends="m4" +#build_style=gnu-makefile +hostmakedepends="m4 tar wget" short_desc="Clozure Common Lisp interpreter and compiler" -maintainer="Ankur Kothari " +maintainer="rc-05 " license="Apache-2.0" homepage="http://ccl.clozure.com/" -distfiles="https://github.com/Clozure/ccl/releases/download/v${version}/${pkgname}-${version}-linuxx86.tar.gz" -checksum=b80850d8d6ca8662499975f1cd76bf51affdd29e2025796ddcff6576fe704143 +distfiles="https://github.com/Clozure/ccl/archive/v${version}.tar.gz" +checksum=774a06b4fb6dc4b51dfb26da8e1cc809c605e7706c12180805d1be6f2885bd52 nopie=1 -nostrip=1 -disable_parallel_build=1 +#nostrip=1 +#disable_parallel_build=1 case $XBPS_MACHINE in x86_64*) _arch=64 ;; @@ -21,6 +21,11 @@ case $XBPS_MACHINE in *) _arch='' ;; esac +pre_build() { + wget https://github.com/Clozure/ccl/releases/download/v${version}/linuxx86.tar.gz + tar xvzf linuxx86.tar.gz -C . +} + do_build() { # recompile kernel, mandatory for musl cd "lisp-kernel/linuxx86${_arch:-32}" @@ -60,4 +65,3 @@ EOF vcopy "examples/*" usr/share/examples/$pkgname } -