diff --git a/config/lib.json b/config/lib.json index a4f03670..4c4f3390 100644 --- a/config/lib.json +++ b/config/lib.json @@ -98,6 +98,12 @@ "ffitarget.h" ] }, + "libmcrypt": { + "source": "libmcrypt", + "static-libs-unix": [ + "libmcrypt.a" + ] + }, "libpng": { "source": "libpng", "static-libs-unix": [ diff --git a/config/source.json b/config/source.json index 929711f6..6c2e9238 100644 --- a/config/source.json +++ b/config/source.json @@ -53,6 +53,14 @@ "path": "LICENSE" } }, + "libmcrypt": { + "type": "url", + "url": "https://github.com/winlibs/libmcrypt/archive/refs/tags/libmcrypt-2.5.8-3.4.tar.gz", + "license": { + "type": "file", + "path": "COPYING.LIB" + } + }, "libpng": { "type": "git", "url": "https://git.code.sf.net/p/libpng/code", diff --git a/src/SPC/builder/macos/library/gmp.php b/src/SPC/builder/macos/library/gmp.php index ee72ce87..e8fde67d 100644 --- a/src/SPC/builder/macos/library/gmp.php +++ b/src/SPC/builder/macos/library/gmp.php @@ -1,25 +1,12 @@ - * - * lwmbs is licensed under Mulan PSL v2. You can use this - * software according to the terms and conditions of the - * Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: - * - * http://license.coscl.org.cn/MulanPSL2 - * - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, - * WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, - * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, - * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. - * - * See the Mulan PSL v2 for more details. - */ declare(strict_types=1); namespace SPC\builder\macos\library; +/** + * gmp is a template library class for unix + */ class gmp extends MacOSLibraryBase { public const NAME = 'gmp'; diff --git a/src/SPC/builder/macos/library/sqlite.php b/src/SPC/builder/macos/library/sqlite.php index 9ffc7093..03f96b57 100644 --- a/src/SPC/builder/macos/library/sqlite.php +++ b/src/SPC/builder/macos/library/sqlite.php @@ -1,20 +1,4 @@ - * - * lwmbs is licensed under Mulan PSL v2. You can use this - * software according to the terms and conditions of the - * Mulan PSL v2. You may obtain a copy of Mulan PSL v2 at: - * - * http://license.coscl.org.cn/MulanPSL2 - * - * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, - * WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, - * INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, - * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE. - * - * See the Mulan PSL v2 for more details. - */ declare(strict_types=1);