33 lines
1.1 KiB
Bash
33 lines
1.1 KiB
Bash
# Template file for 'cmake-gui'
|
|
pkgname=cmake-gui
|
|
version=3.15.3
|
|
revision=1
|
|
wrksrc="cmake-${version}"
|
|
build_style=configure
|
|
configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake
|
|
--system-libs --qt-gui ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
|
|
hostmakedepends="qt5-devel"
|
|
makedepends="jsoncpp-devel libarchive-devel libcurl-devel libuv-devel
|
|
ncurses-devel qt5-devel rhash-devel"
|
|
depends="desktop-file-utils shared-mime-info"
|
|
short_desc="Cross-platform, open-source build system - Qt GUI"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="LGPL-2.1-or-later, BSD-3-Clause"
|
|
homepage="https://www.cmake.org"
|
|
distfiles="https://www.cmake.org/files/v${version%.*}/cmake-${version}.tar.gz"
|
|
checksum=13958243a01365b05652fa01b21d40fa834f70a9e30efa69c02604e64f58b8f5
|
|
nocross=yes
|
|
|
|
do_install() {
|
|
# We are only interested in cmake-gui.
|
|
make DESTDIR=${wrksrc}/${pkgname} install
|
|
|
|
vbin ${pkgname}/usr/bin/cmake-gui
|
|
|
|
vmkdir usr/share
|
|
cp -a ${pkgname}/usr/share/{applications,mime,icons} ${DESTDIR}/usr/share
|
|
|
|
vmkdir usr/share/licenses # no vlicense
|
|
mv ${pkgname}/usr/share/doc/cmake ${DESTDIR}/usr/share/licenses/cmake-gui
|
|
}
|