void-packages/srcpkgs/cmake-gui/template

41 lines
1.1 KiB
Text
Raw Normal View History

# Template file for 'cmake-gui'
pkgname=cmake-gui
version=2.8.10.2
revision=2
wrksrc="cmake-${version}"
# ETOOHUGE
disable_debug=yes
build_style=configure
configure_script=./bootstrap
configure_args="--prefix=/usr --mandir=/share/man
--docdir=/share/doc/cmake --system-libs --qt-gui"
if [ -n "$XBPS_MAKEJOBS" ]; then
configure_args="$configure_args --parallel=$XBPS_MAKEJOBS"
fi
makedepends="zlib-devel expat-devel libcurl-devel
ncurses-devel libarchive-devel>=3.1.2 qt-devel"
short_desc="Cross-platform, open-source build system - QT GUI"
maintainer="Juan RP <xtraeme@gmail.com>"
license="BSD"
homepage="http://www.cmake.org"
distfiles="http://www.cmake.org/files/v2.8/cmake-$version.tar.gz"
checksum=ce524fb39da06ee6d47534bbcec6e0b50422e18b62abc4781a4ba72ea2910eb1
post_install() {
# Only interested in the gui and its files.
for f in ${DESTDIR}/usr/bin/* ${DESTDIR}/usr/share/man/man1/*; do
_fname=$(basename ${f})
if [ "${_fname}" = "cmake-gui" -o "${_fname}" = "cmake-gui.1" ]; then
continue
fi
rm -f ${f}
done
rm -rf ${DESTDIR}/usr/share/{doc,cmake*,aclocal}
}
cmake-gui_package() {
pkg_install() {
vmove usr
}
}