2011-07-19 23:15:34 +08:00
|
|
|
#
|
|
|
|
# Core Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
|
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
|
2010-03-13 23:54:19 +08:00
|
|
|
|
|
|
|
pkgname=cmake
|
2012-01-12 10:06:37 +08:00
|
|
|
pkgver=2.8.7
|
2012-03-19 10:44:28 +08:00
|
|
|
pkgrel=2
|
2010-03-13 23:54:19 +08:00
|
|
|
pkgdesc="A cross-platform open-source make system"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('custom')
|
|
|
|
url="http://www.cmake.org"
|
2011-07-19 23:15:34 +08:00
|
|
|
depends=('curl' 'libarchive' 'shared-mime-info')
|
2011-07-25 04:39:06 +08:00
|
|
|
makedepends=('qt')
|
2010-04-04 22:20:41 +08:00
|
|
|
install=${pkgname}.install
|
|
|
|
source=("http://www.cmake.org/files/v2.8/${pkgname}-${pkgver}.tar.gz")
|
2012-01-12 10:06:37 +08:00
|
|
|
md5sums=('e1b237aeaed880f65dec9c20602452f6')
|
2010-03-13 23:54:19 +08:00
|
|
|
|
|
|
|
build() {
|
2011-07-19 23:15:34 +08:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
|
|
|
|
./bootstrap --prefix=/usr \
|
|
|
|
--mandir=/share/man \
|
|
|
|
--docdir=/share/doc/cmake \
|
|
|
|
--system-libs \
|
2011-07-25 04:39:06 +08:00
|
|
|
--qt-gui \
|
2011-07-19 23:15:34 +08:00
|
|
|
--parallel=2
|
|
|
|
make
|
2010-04-04 22:20:41 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2011-07-19 23:15:34 +08:00
|
|
|
cd "${srcdir}"/${pkgname}-${pkgver}
|
|
|
|
make DESTDIR="${pkgdir}" install
|
2010-03-13 23:54:19 +08:00
|
|
|
|
2011-07-19 23:15:34 +08:00
|
|
|
vimpath="$pkgdir/usr/share/vim/vimfiles"
|
|
|
|
install -Dm644 Docs/cmake-indent.vim ${vimpath}/indent/cmake-indent.vim
|
|
|
|
install -Dm644 Docs/cmake-syntax.vim ${vimpath}/syntax/cmake-syntax.vim
|
|
|
|
install -Dm644 Docs/cmake-mode.el ${pkgdir}/usr/share/emacs/site-lisp/cmake-mode.el
|
|
|
|
install -Dm644 Copyright.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
|
2010-03-13 23:54:19 +08:00
|
|
|
}
|