diff options
Diffstat (limited to 'repo/tweeny/tweeny.xibuild')
-rw-r--r-- | repo/tweeny/tweeny.xibuild | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/repo/tweeny/tweeny.xibuild b/repo/tweeny/tweeny.xibuild new file mode 100644 index 0000000..e1ec94d --- /dev/null +++ b/repo/tweeny/tweeny.xibuild @@ -0,0 +1,23 @@ +#!/bin/sh + +NAME="tweeny" +DESC="Modern C++ tweening library" + +MAKEDEPS=" cmake doxygen" + +PKG_VER=3.2.0 +SOURCE="https://github.com/mobius3/tweeny/archive/v$PKG_VER/tweeny-v$PKG_VER.tar.gz" + +build() { + cmake -B build \ + -DCMAKE_BUILD_TYPE=None \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DTWEENY_BUILD_DOCUMENTATION=ON + cmake --build build +} + +package() { + DESTDIR="$PKG_DEST" cmake --install build +} + |