diff options
author | davidovski <david@davidovski.xyz> | 2022-08-10 09:16:34 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-08-10 09:16:34 +0100 |
commit | c1d3da9ca87c414100b1cb969e36b8d7d05b9a74 (patch) | |
tree | 1cd983a42e1a221991d09783e08c6c162d4be5cf /repo/nuspell/nuspell.xibuild | |
parent | 9a26d3fdc7fca2df6f824b56034ab9a823e898d8 (diff) |
added ovmf, lolcat, spice, and squashfstools
Diffstat (limited to 'repo/nuspell/nuspell.xibuild')
-rw-r--r-- | repo/nuspell/nuspell.xibuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/repo/nuspell/nuspell.xibuild b/repo/nuspell/nuspell.xibuild new file mode 100644 index 0000000..a404428 --- /dev/null +++ b/repo/nuspell/nuspell.xibuild @@ -0,0 +1,30 @@ +#!/bin/sh + +NAME="nuspell" +DESC="Free and open source C++ spell checking library" + +MAKEDEPS="cmake icu ronn catch2" + +PKG_VER=5.1.0 +SOURCE="https://github.com/nuspell/nuspell/archive/v$PKG_VER/nuspell-$PKG_VER.tar.gz" + +build() { + cmake \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DBUILD_SHARED_LIBS=True \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ + -DCMAKE_C_FLAGS="$CFLAGS" \ + $CMAKE_CROSSOPTS . + make +} + +check() { + CTEST_OUTPUT_ON_FAILURE=TRUE ctest +} + +package() { + make DESTDIR="$PKG_DEST" install +} + |