summaryrefslogtreecommitdiff
path: root/repo/devel/cmake-extra/cmake-extra.xibuild
blob: a81994fbe283efb9f03857562f73811ad0d57d5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

MAKEDEPS="cmake"
DEPS="cmake"

PKG_VER=1.6
SOURCE=https://gitlab.com/ubports/core/cmake-extras/-/archive/$PKG_VER/cmake-extras-$PKG_VER.tar.gz
DESC="A collection of add-ons for the CMake build tool"

build () {
    cmake -B build \
		-DCMAKE_BUILD_TYPE=None \
		-DCMAKE_INSTALL_PREFIX=/usr
	cmake --build build

}

package () {
    DESTDIR="$PKG_DEST" cmake --build build --target install
}