diff --git a/srcpkgs/ecl/files/aarch64-musl.conf b/srcpkgs/ecl/files/aarch64-musl.conf new file mode 100644 index 00000000000..120bb1271d4 --- /dev/null +++ b/srcpkgs/ecl/files/aarch64-musl.conf @@ -0,0 +1,63 @@ +### +### YOU ARE TRYING TO CROSS COMPILE ECL. +### PLEASE FOLLOW THESE INSTRUCTIONS: +### +### 1) Vital information cannot be determined at configuration time +### because we are not able to run test programs. A file called +### +### has been created, that you will have to fill out. Please do +### it before invoking "configure" again. + +### 1.1) Direction of growth of the stack +ECL_STACK_DIR=down + +### 1.2) Choose an integer datatype which is large enough to host a pointer +CL_FIXNUM_TYPE="long long int" +CL_FIXNUM_BITS=64 +CL_FIXNUM_MAX=2305843009213693951LL +CL_FIXNUM_MIN=-2305843009213693952LL +CL_INT_BITS=32 +CL_LONG_BITS=64 + +### 1.3) Order of bytes within a word +ECL_BIGENDIAN=no + +### 1.4) What characters signal an end of line. May be LF (Linefeed or \n) +### CR (Carriage return or \r), and CRLF (CR followed by LF). +ECL_NEWLINE=LF + +### 1.5) Can we guess how many characters are available for reading from +### the FILE structure? +### 0 = no +### 1 = (f)->_IO_read_end - (f)->_IO_read_ptr +### 2 = (f)->_r +### 3 = (f)->_cnt +ECL_FILE_CNT=0 + +### +### 1.6) Other integer types (set to 'no' to disable) +### +ECL_STDINT_HEADER="#include " +ECL_UINT8_T=uint8_t +ECL_UINT16_T=uint16_t +ECL_UINT32_T=uint32_t +ECL_UINT64_T=uint64_t +ECL_INT8_T=int8_t +ECL_INT16_T=int16_t +ECL_INT32_T=int32_t +ECL_INT64_T=int64_t +ECL_LONG_LONG_BITS=64 + +### +### 1.7) Other features (set to 'no' to disable) +### +ECL_WORKING_ENVIRON=yes + +### 2) To cross-compile ECL so that it runs on the system +### aarch64-unknown-linux-gnu +### you need to first compile ECL on the system in which you are building +### the cross-compiled files, that is +### x86_64-unknown-linux-gnu +### By default we assume that ECL can be accessed from some directory in +### the path. +ECL_TO_RUN=/usr/bin/ecl \ No newline at end of file diff --git a/srcpkgs/ecl/files/aarch64.conf b/srcpkgs/ecl/files/aarch64.conf new file mode 100644 index 00000000000..120bb1271d4 --- /dev/null +++ b/srcpkgs/ecl/files/aarch64.conf @@ -0,0 +1,63 @@ +### +### YOU ARE TRYING TO CROSS COMPILE ECL. +### PLEASE FOLLOW THESE INSTRUCTIONS: +### +### 1) Vital information cannot be determined at configuration time +### because we are not able to run test programs. A file called +### +### has been created, that you will have to fill out. Please do +### it before invoking "configure" again. + +### 1.1) Direction of growth of the stack +ECL_STACK_DIR=down + +### 1.2) Choose an integer datatype which is large enough to host a pointer +CL_FIXNUM_TYPE="long long int" +CL_FIXNUM_BITS=64 +CL_FIXNUM_MAX=2305843009213693951LL +CL_FIXNUM_MIN=-2305843009213693952LL +CL_INT_BITS=32 +CL_LONG_BITS=64 + +### 1.3) Order of bytes within a word +ECL_BIGENDIAN=no + +### 1.4) What characters signal an end of line. May be LF (Linefeed or \n) +### CR (Carriage return or \r), and CRLF (CR followed by LF). +ECL_NEWLINE=LF + +### 1.5) Can we guess how many characters are available for reading from +### the FILE structure? +### 0 = no +### 1 = (f)->_IO_read_end - (f)->_IO_read_ptr +### 2 = (f)->_r +### 3 = (f)->_cnt +ECL_FILE_CNT=0 + +### +### 1.6) Other integer types (set to 'no' to disable) +### +ECL_STDINT_HEADER="#include " +ECL_UINT8_T=uint8_t +ECL_UINT16_T=uint16_t +ECL_UINT32_T=uint32_t +ECL_UINT64_T=uint64_t +ECL_INT8_T=int8_t +ECL_INT16_T=int16_t +ECL_INT32_T=int32_t +ECL_INT64_T=int64_t +ECL_LONG_LONG_BITS=64 + +### +### 1.7) Other features (set to 'no' to disable) +### +ECL_WORKING_ENVIRON=yes + +### 2) To cross-compile ECL so that it runs on the system +### aarch64-unknown-linux-gnu +### you need to first compile ECL on the system in which you are building +### the cross-compiled files, that is +### x86_64-unknown-linux-gnu +### By default we assume that ECL can be accessed from some directory in +### the path. +ECL_TO_RUN=/usr/bin/ecl \ No newline at end of file diff --git a/srcpkgs/ecl/files/armv6l-musl.conf b/srcpkgs/ecl/files/armv6l-musl.conf new file mode 100644 index 00000000000..a48cd8bd4d2 --- /dev/null +++ b/srcpkgs/ecl/files/armv6l-musl.conf @@ -0,0 +1,63 @@ +### +### YOU ARE TRYING TO CROSS COMPILE ECL. +### PLEASE FOLLOW THESE INSTRUCTIONS: +### +### 1) Vital information cannot be determined at configuration time +### because we are not able to run test programs. A file called +### +### has been created, that you will have to fill out. Please do +### it before invoking "configure" again. + +### 1.1) Direction of growth of the stack +ECL_STACK_DIR=down + +### 1.2) Choose an integer datatype which is large enough to host a pointer +CL_FIXNUM_TYPE=int +CL_FIXNUM_BITS=32 +CL_FIXNUM_MAX=536870911L +CL_FIXNUM_MIN=-536870912L +CL_INT_BITS=32 +CL_LONG_BITS=32 + +### 1.3) Order of bytes within a word +ECL_BIGENDIAN=no + +### 1.4) What characters signal an end of line. May be LF (Linefeed or \n) +### CR (Carriage return or \r), and CRLF (CR followed by LF). +ECL_NEWLINE=LF + +### 1.5) Can we guess how many characters are available for reading from +### the FILE structure? +### 0 = no +### 1 = (f)->_IO_read_end - (f)->_IO_read_ptr +### 2 = (f)->_r +### 3 = (f)->_cnt +ECL_FILE_CNT=0 + +### +### 1.6) Other integer types (set to 'no' to disable) +### +ECL_STDINT_HEADER="#include " +ECL_UINT8_T=uint8_t +ECL_UINT16_T=uint16_t +ECL_UINT32_T=uint32_t +ECL_UINT64_T=no +ECL_INT8_T=int8_t +ECL_INT16_T=int16_t +ECL_INT32_T=int32_t +ECL_INT64_T=no +ECL_LONG_LONG_BITS=no + +### +### 1.7) Other features (set to 'no' to disable) +### +ECL_WORKING_ENVIRON=yes + +### 2) To cross-compile ECL so that it runs on the system +### armv7l-unknown-linux-musleabihf +### you need to first compile ECL on the system in which you are building +### the cross-compiled files, that is +### x86_64-unknown-linux-gnu +### By default we assume that ECL can be accessed from some directory in +### the path. +ECL_TO_RUN=/usr/bin/ecl diff --git a/srcpkgs/ecl/files/armv7l.conf b/srcpkgs/ecl/files/armv7l.conf new file mode 100644 index 00000000000..c70a38d248a --- /dev/null +++ b/srcpkgs/ecl/files/armv7l.conf @@ -0,0 +1,63 @@ +### +### YOU ARE TRYING TO CROSS COMPILE ECL. +### PLEASE FOLLOW THESE INSTRUCTIONS: +### +### 1) Vital information cannot be determined at configuration time +### because we are not able to run test programs. A file called +### +### has been created, that you will have to fill out. Please do +### it before invoking "configure" again. + +### 1.1) Direction of growth of the stack +ECL_STACK_DIR=down + +### 1.2) Choose an integer datatype which is large enough to host a pointer +CL_FIXNUM_TYPE=int +CL_FIXNUM_BITS=32 +CL_FIXNUM_MAX=536870911L +CL_FIXNUM_MIN=-536870912L +CL_INT_BITS=32 +CL_LONG_BITS=32 + +### 1.3) Order of bytes within a word +ECL_BIGENDIAN=no + +### 1.4) What characters signal an end of line. May be LF (Linefeed or \n) +### CR (Carriage return or \r), and CRLF (CR followed by LF). +ECL_NEWLINE=LF + +### 1.5) Can we guess how many characters are available for reading from +### the FILE structure? +### 0 = no +### 1 = (f)->_IO_read_end - (f)->_IO_read_ptr +### 2 = (f)->_r +### 3 = (f)->_cnt +ECL_FILE_CNT=0 + +### +### 1.6) Other integer types (set to 'no' to disable) +### +ECL_STDINT_HEADER="#include " +ECL_UINT8_T=uint8_t +ECL_UINT16_T=uint16_t +ECL_UINT32_T=uint32_t +ECL_UINT64_T=no +ECL_INT8_T=int8_t +ECL_INT16_T=int16_t +ECL_INT32_T=int32_t +ECL_INT64_T=no +ECL_LONG_LONG_BITS=no + +### +### 1.7) Other features (set to 'no' to disable) +### +ECL_WORKING_ENVIRON=yes + +### 2) To cross-compile ECL so that it runs on the system +### armv7l-unknown-linux-gnueabihf +### you need to first compile ECL on the system in which you are building +### the cross-compiled files, that is +### x86_64-unknown-linux-gnu +### By default we assume that ECL can be accessed from some directory in +### the path. +ECL_TO_RUN=/usr/bin/ecl diff --git a/srcpkgs/ecl/template b/srcpkgs/ecl/template new file mode 100644 index 00000000000..9cf4eccf9da --- /dev/null +++ b/srcpkgs/ecl/template @@ -0,0 +1,25 @@ +# Template file for 'ecl' +pkgname=ecl +version=16.1.3 +revision=1 +build_style=gnu-configure +configure_args="--enable-gmp=system --enable-boehm=system --enable-libatomic=system" +hostmakedepends="pkg-config" +makedepends="gc-devel libatomic_ops-devel gmp-devel" +depends=$makedepends +short_desc="A Common-Lisp interpreter as described in the X3J13 Ansi specification" +maintainer="Kyle Nusbaum " +license="LGPL-2.1-or-later" +homepage="https://common-lisp.net/project/ecl/" +distfiles="https://common-lisp.net/project/ecl/static/files/release/ecl-${version}.tgz" +checksum=76a585c616e8fa83a6b7209325a309da5bc0ca68e0658f396f49955638111254 + +if [ "$CROSS_BUILD" ]; then + # Depend on system ecl + hostmakedepends+=" ecl" + configure_args+=" --with-cross-config=${XBPS_SRCPKGDIR}/ecl/files/${XBPS_TARGET_MACHINE}.conf" +fi + +post_install() { + vlicense COPYING +}