cmake: updated to 3.2.0
Also modified data installation directory to use cmake instead of cmake-x.y. That will help to see footprint differences between commits.
This commit is contained in:
parent
1ac35630ca
commit
1255260348
3671
cmake/.footprint
3671
cmake/.footprint
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
5697a77503bb5636f4b4057dcc02aa32 cmake-3.1.3.tar.gz
|
||||
2b123ee72902b488b9bfb71de5a70a82 cmake-3.2.0.tar.gz
|
||||
|
@ -5,20 +5,28 @@
|
||||
# Depends on: curl libarchive expat ncurses
|
||||
|
||||
name=cmake
|
||||
version=3.1.3
|
||||
version=3.2.0
|
||||
release=1
|
||||
source=(http://www.cmake.org/files/v${version%.*}/$name-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
# fix installation path
|
||||
sed -i Source/CMakeInstallDestinations.cmake \
|
||||
-e 's|share/cmake-${CMake_VERSION_MAJOR}.${CMake_VERSION_MINOR}|share/cmake|'
|
||||
|
||||
./bootstrap \
|
||||
--prefix=/usr \
|
||||
--system-libs \
|
||||
--system-libarchive \
|
||||
--no-system-jsoncpp \
|
||||
--parallel=$(sed -e 's/.*-j *\([0-9]\+\).*/\1/' <<< $MAKEFLAGS)
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -r $PKG/usr/doc
|
||||
|
||||
# keep versioned dir for compatibility
|
||||
ln -sf $name $PKG/usr/share/$name-${version%.*}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user