1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 09:47: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

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
}