1
0
mirror of https://github.com/SerenityOS/serenity synced 2024-07-09 13:30:45 +00:00

Ports: Add a port of libmikmod

This commit is contained in:
Tim Schumacher 2022-05-26 11:27:00 +02:00 committed by Andreas Kling
parent 5a3321b899
commit b929b91e4f
2 changed files with 18 additions and 0 deletions

View File

@ -105,6 +105,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`libksba`](libksba/) | libksba | 1.5.1 | https://gnupg.org/software/libksba/index.html |
| [`libjpeg`](libjpeg/) | libjpeg | 9e | https://ijg.org/ |
| [`libmad`](libmad/) | libmad | 0.15.1b | https://www.underbit.com/products/mad/ |
| [`libmikmod`](libmikmod/) | libmikmod | 3.3.11.1 | http://mikmod.sourceforge.net/ |
| [`libmodplug`](libmodplug/) | libmodplug | 0.8.9.0 | http://modplug-xmms.sourceforge.net/ |
| [`libmpeg2`](libmpeg2/) | libmpeg2 | 0.5.1 | https://libmpeg2.sourceforge.io/ |
| [`libmpg123`](libmpg123/) | libmpg123 | 1.29.3 | https://www.mpg123.de/ |

17
Ports/libmikmod/package.sh Executable file
View File

@ -0,0 +1,17 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libmikmod
version=3.3.11.1
useconfigure=true
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt")
use_fresh_config_sub=true
config_sub_paths=("autotools/config.sub")
files="https://downloads.sourceforge.net/project/mikmod/libmikmod/${version}/libmikmod-${version}.tar.gz libmikmod-${version}.tar.gz ad9d64dfc8f83684876419ea7cd4ff4a41d8bcd8c23ef37ecb3a200a16b46d19"
auth_type=sha256
configure() {
run cmake "${configopts[@]}" .
}
install() {
run make install
}