diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-23 07:31:44 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-11-23 07:33:38 +0000 |
commit | 3b727fed25b4545f8e3fd452f1fe1bbd56e4e74c (patch) | |
tree | c9ace2323920f621692e354c256bfe4f9965f65a /main/cmake | |
parent | 1aa565ac21a298e3fe52a03a7c053e978cc85d02 (diff) | |
download | aports-3b727fed25b4545f8e3fd452f1fe1bbd56e4e74c.tar.bz2 aports-3b727fed25b4545f8e3fd452f1fe1bbd56e4e74c.tar.xz |
main/cmake: upgrade to 2.8.0
Diffstat (limited to 'main/cmake')
-rw-r--r-- | main/cmake/APKBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/main/cmake/APKBUILD b/main/cmake/APKBUILD index 8ef3a37b7..07653b891 100644 --- a/main/cmake/APKBUILD +++ b/main/cmake/APKBUILD @@ -1,13 +1,13 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=cmake -pkgver=2.6.4 -pkgrel=1 +pkgver=2.8.0 +pkgrel=0 pkgdesc="CMake is a cross-platform open-source make system" url="http://www.cmake.org" license="CMake" -depends="uclibc libgcc g++ ncurses" +depends= makedepends="ncurses-dev" -source="http://www.$pkgname.org/files/v2.6/$pkgname-$pkgver.tar.gz" +source="http://www.$pkgname.org/files/v${pkgver%.*}/$pkgname-$pkgver.tar.gz" subpackages="$pkgname-doc" @@ -26,15 +26,20 @@ build () cd $startdir/src/$pkgname-$pkgver # bug in cmake. # http://www.mail-archive.com/cmake@cmake.org/msg09515.html - export CC="gcc" - export CXX="g++" +# export CC="gcc" +# export CXX="g++" ./bootstrap --prefix=/usr \ --mandir=/share/man \ - --docdir=/share/cmake-2.6/doc \ + --docdir=/share/cmake-${pkgver%.*}/doc \ $(parallel_opt) make || return 1 +} + +package() { + cd $startdir/src/$pkgname-$pkgver make DESTDIR="$pkgdir" install } -md5sums="50f387d0436696c4a68b5512a72c9cde cmake-2.6.4.tar.gz" + +md5sums="3b3679b8a6afaedc38a8c15dd7ff4fcf cmake-2.8.0.tar.gz" |