forked from ports/contrib
22 lines
612 B
Plaintext
22 lines
612 B
Plaintext
# Description: A library which supports many formats, including: mod, s3m, it, and xm.
|
|
# URL: https://sourceforge.net/projects/mikmod/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: alsa-lib
|
|
|
|
name=libmikmod
|
|
version=3.3.11.1
|
|
release=1
|
|
source=(https://github.com/sezero/mikmod/archive/refs/tags/$name-$version.tar.gz)
|
|
|
|
build(){
|
|
cmake -B build -S mikmod-$name-$version/$name \
|
|
-G Ninja -D CMAKE_BUILD_TYPE=Release \
|
|
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
-D ENABLE_DOC=OFF \
|
|
-Wno-dev
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja -C build install
|
|
}
|