28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
# Template file for 'cmake-gui'
|
|
pkgname=cmake-gui
|
|
version=3.0.1
|
|
revision=1
|
|
wrksrc="cmake-${version}"
|
|
build_style=configure
|
|
configure_script="./bootstrap"
|
|
configure_args="--prefix=/usr --mandir=/share/man --docdir=/share/doc/cmake
|
|
--system-libs --qt-gui ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
|
|
makedepends="zlib-devel expat-devel libcurl-devel ncurses-devel libarchive-devel>=3.1.2 qt-devel"
|
|
depends="desktop-file-utils shared-mime-info"
|
|
short_desc="Cross-platform, open-source build system - QT GUI"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="LGPL-2.1, 3-clause-BSD"
|
|
homepage="http://www.cmake.org"
|
|
update_pkgname="cmake"
|
|
distfiles="http://www.cmake.org/files/v${version%.*}/cmake-$version.tar.gz"
|
|
checksum=ea11a8fb6679496de4e198ab93007968faa638663691cdf731ae2d4ed74e00c2
|
|
|
|
do_install() {
|
|
# We are only interested in cmake-gui.
|
|
make DESTDIR=${wrksrc}/${pkgname} install
|
|
|
|
vmkdir usr/share
|
|
vinstall ${pkgname}/usr/bin/cmake-gui 755 usr/bin
|
|
cp -a ${pkgname}/usr/share/{applications,mime,pixmaps} ${DESTDIR}/usr/share
|
|
}
|