cmake-gui: update to 2.8.12.

This commit is contained in:
Juan RP 2013-10-14 11:42:22 +02:00
parent a1a11ffeaa
commit 53058fbf5a

View file

@ -1,40 +1,31 @@
# Template file for 'cmake-gui'
pkgname=cmake-gui
version=2.8.10.2
revision=2
version=2.8.12
revision=1
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"
configure_args+=" --parallel=$XBPS_MAKEJOBS"
fi
makedepends="zlib-devel expat-devel libcurl-devel
ncurses-devel libarchive-devel>=3.1.2 qt-devel"
ncurses-devel libarchive-devel>=3.1.2 qt-devel 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"
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}
}
checksum=d885ba10b2406ede59aa31a928df33c9d67fc01433202f7dd586999cfd0e0287
cmake-gui_package() {
depends="desktop-file-utils shared-mime-info"
pkg_install() {
vmove usr
vmove usr/bin/cmake-gui
vmove usr/share/man/man1/cmake-gui.1
vmove usr/share/applications
vmove usr/share/mime/packages
vmove usr/share/pixmaps
}
}