Ports: Add gsl
This commit is contained in:
parent
7788a7e744
commit
3373090993
Notes:
sideshowbarker
2024-07-18 04:28:08 +09:00
Author: https://github.com/rtobar 🔰 Commit: https://github.com/SerenityOS/serenity/commit/33730909939 Pull-request: https://github.com/SerenityOS/serenity/pull/9879 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/linusg ✅
3 changed files with 55 additions and 0 deletions
|
@ -52,6 +52,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
|
|||
| [`gnuplot`](gnuplot/) | Gnuplot | 5.2.8 | http://www.gnuplot.info/ |
|
||||
| [`grep`](grep/) | GNU Grep | 2.5.4 | https://www.gnu.org/software/grep/ |
|
||||
| [`griffon`](griffon/) | The Griffon Legend | 1.0 | https://www.scummvm.org/games/#games-griffon |
|
||||
| [`gsl`](gsl/) | GNU Scientific Library | 2.7 | https://www.gnu.org/software/gsl/ |
|
||||
| [`harfbuzz`](harfbuzz/) | HarfBuzz | 2.8.1 | https://github.com/harfbuzz/harfbuzz |
|
||||
| [`hatari`](hatari/) | Atari ST/STE/TT/Falcon emulator | 2.4.0-devel | https://hatari.tuxfamily.org/ |
|
||||
| [`imgcat`](imgcat/) | imgcat | 2.5.0 | https://github.com/eddieantonio/imgcat |
|
||||
|
|
10
Ports/gsl/package.sh
Executable file
10
Ports/gsl/package.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
|
||||
port="gsl"
|
||||
version="2.7"
|
||||
useconfigure="true"
|
||||
files="https://mirror.freedif.org/GNU/gsl/gsl-${version}.tar.gz gsl-${version}.tar.gz
|
||||
https://mirror.freedif.org/GNU/gsl/gsl-${version}.tar.gz.sig gsl-${version}.tar.gz.sig
|
||||
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
||||
auth_type=sig
|
||||
auth_opts="--keyring ./gnu-keyring.gpg gsl-${version}.tar.gz.sig"
|
44
Ports/gsl/patches/configure.patch
Normal file
44
Ports/gsl/patches/configure.patch
Normal file
|
@ -0,0 +1,44 @@
|
|||
--- a/configure 2021-06-01 22:31:12.000000000 +0800
|
||||
+++ b/configure 2021-09-08 00:04:20.540891640 +0800
|
||||
@@ -6166,6 +6166,10 @@
|
||||
lt_cv_file_magic_test_file=/shlib/libc.so
|
||||
;;
|
||||
|
||||
+*serenity*)
|
||||
+ lt_cv_deplibs_check_method=pass_all
|
||||
+ ;;
|
||||
+
|
||||
cygwin*)
|
||||
# func_win32_libid is a shell function defined in ltmain.sh
|
||||
lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
|
||||
--- a/config.sub 2017-07-23 22:03:39.000000000 +0800
|
||||
+++ b/config.sub 2021-09-08 00:02:45.724734622 +0800
|
||||
@@ -117,7 +117,7 @@
|
||||
case $maybe_os in
|
||||
nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
|
||||
linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
|
||||
- knetbsd*-gnu* | netbsd*-gnu* | \
|
||||
+ knetbsd*-gnu* | netbsd*-gnu* | *serenity* | \
|
||||
kopensolaris*-gnu* | \
|
||||
storm-chaos* | os2-emx* | rtmk-nova*)
|
||||
os=-$maybe_os
|
||||
@@ -1277,6 +1277,9 @@
|
||||
we32k)
|
||||
basic_machine=we32k-att
|
||||
;;
|
||||
+ *serenity*)
|
||||
+ basic_machine="${SERENITY_ARCH}-pc"
|
||||
+ ;;
|
||||
sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
|
||||
basic_machine=sh-unknown
|
||||
;;
|
||||
@@ -1404,6 +1407,9 @@
|
||||
-linux*)
|
||||
os=`echo $os | sed -e 's|linux|linux-gnu|'`
|
||||
;;
|
||||
+ *-serenity*)
|
||||
+ os=-serenity
|
||||
+ ;;
|
||||
-sunos5*)
|
||||
os=`echo $os | sed -e 's|sunos5|solaris2|'`
|
||||
;;
|
Loading…
Add table
Reference in a new issue