diff options
author | Rodrigo Tobar <rtobarc@gmail.com> | 2021-09-08 00:13:16 +0800 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2021-09-08 08:49:56 +0100 |
commit | 33730909939ecb742ff7815a7f4525443c1b8636 (patch) | |
tree | 7c4c3581854bbc0405dd75611ada9c940df6f47b /Ports | |
parent | 7788a7e744b3ddfe035bee2881ff4c32f5023e8e (diff) | |
download | serenity-33730909939ecb742ff7815a7f4525443c1b8636.zip |
Ports: Add gsl
Diffstat (limited to 'Ports')
-rw-r--r-- | Ports/AvailablePorts.md | 1 | ||||
-rwxr-xr-x | Ports/gsl/package.sh | 10 | ||||
-rw-r--r-- | Ports/gsl/patches/configure.patch | 44 |
3 files changed, 55 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md index fa2ba381f9..1f1f043bee 100644 --- a/Ports/AvailablePorts.md +++ b/Ports/AvailablePorts.md @@ -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 | diff --git a/Ports/gsl/package.sh b/Ports/gsl/package.sh new file mode 100755 index 0000000000..d13b762feb --- /dev/null +++ b/Ports/gsl/package.sh @@ -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" diff --git a/Ports/gsl/patches/configure.patch b/Ports/gsl/patches/configure.patch new file mode 100644 index 0000000000..656b6c24e1 --- /dev/null +++ b/Ports/gsl/patches/configure.patch @@ -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|'` + ;; |