void-packages/srcpkgs/cmake-gui/template

28 lines
1.0 KiB
Plaintext
Raw Normal View History

# Template file for 'cmake-gui'
pkgname=cmake-gui
2014-06-11 09:23:13 +02:00
version=3.0.0
2013-10-14 11:42:22 +02:00
revision=1
wrksrc="cmake-${version}"
build_style=configure
configure_script="./bootstrap"
2014-06-11 09:23:13 +02:00
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
2013-10-14 11:42:22 +02:00
ncurses-devel libarchive-devel>=3.1.2 qt-devel desktop-file-utils shared-mime-info"
depends="desktop-file-utils shared-mime-info"
short_desc="Cross-platform, open-source build system - QT GUI"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.cmake.org"
2014-06-11 09:23:13 +02:00
distfiles="http://www.cmake.org/files/v${version%.*}/cmake-$version.tar.gz"
checksum=99a34b7f74000404feffd82fba9d9e0cd623428c74b6a4851a0dee1c272606c0
do_install() {
# We are only interested in cmake-gui.
make DESTDIR=${wrksrc}/${pkgname} install
2014-06-11 09:36:37 +02:00
vmkdir usr/share
vinstall ${pkgname}/usr/bin/cmake-gui 755 usr/bin
cp -a ${pkgname}/usr/share/{applications,mime,pixmaps} ${DESTDIR}/usr/share
}