zlib-host: build with cmake

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-06-19 13:52:09 +02:00
parent fcf1a7a048
commit c23de3e98d
2 changed files with 9 additions and 6 deletions

View File

@ -28,11 +28,14 @@ setup_toolchain host
cd $BUILD/zlib-*
mkdir -p .build-host
cp * .build-host -R
cd .build-host
# needed for building with cmake
rm -rf zconf.h
mkdir -p .build-host && cd .build-host
cmake -DCMAKE_TOOLCHAIN_FILE=$CMAKE_CONF \
-DCMAKE_INSTALL_PREFIX=$ROOT/$TOOLCHAIN \
..
./configure --prefix=$ROOT/$TOOLCHAIN
make clean
make
make install

View File

@ -18,7 +18,7 @@
# http://www.gnu.org/copyleft/gpl.html
################################################################################
PKG_NAME="zlib"
PKG_NAME="zlib-host"
PKG_VERSION=""
PKG_REV="1"
PKG_ARCH="any"