mirror of
https://github.com/outbackdingo/ports.git
synced 2026-02-06 17:30:31 +00:00
21 lines
566 B
Plaintext
21 lines
566 B
Plaintext
# description : Instrument file software library
|
|
# homepage : https://github.com/swami/libinstpatch
|
|
# depends : cmake glib libsndfile python3
|
|
|
|
name=libinstpatch
|
|
version=1.1.6
|
|
release=2
|
|
source="https://github.com/swami/libinstpatch/archive/v$version/$name-v$version.tar.gz"
|
|
|
|
build() {
|
|
cmake -S $name-$version -B build \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \
|
|
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
|
|
-D LIB_INSTALL_DIR=/usr/lib \
|
|
-Wno-dev
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|