mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
libxml2: split into 'host' and 'target' package
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
71bd4c2fe6
commit
1c3b87c9ec
21
packages/textproc/libxml2-host/build
Executable file
21
packages/textproc/libxml2-host/build
Executable file
@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
$SCRIPTS/build toolchain
|
||||||
|
$SCRIPTS/build Python
|
||||||
|
$SCRIPTS/unpack libxml2
|
||||||
|
|
||||||
|
setup_toolchain host
|
||||||
|
|
||||||
|
cd $BUILD/libxml2-*
|
||||||
|
mkdir -p .build-host
|
||||||
|
|
||||||
|
cd .build-host
|
||||||
|
../configure --prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
--disable-ipv6 \
|
||||||
|
--with-python \
|
||||||
|
--with-zlib
|
||||||
|
|
||||||
|
make
|
||||||
|
make install
|
1
packages/textproc/libxml2-host/url
Normal file
1
packages/textproc/libxml2-host/url
Normal file
@ -0,0 +1 @@
|
|||||||
|
ftp://xmlsoft.org/libxml2/libxml2-2.7.7.tar.gz
|
@ -5,15 +5,18 @@
|
|||||||
$SCRIPTS/build toolchain
|
$SCRIPTS/build toolchain
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
mkdir -p .build-target
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
cd .build-target
|
||||||
--sysconfdir=/etc \
|
../configure --host=$TARGET_NAME \
|
||||||
--disable-static \
|
--build=$HOST_NAME \
|
||||||
--enable-shared \
|
--prefix=/usr \
|
||||||
--disable-ipv6 \
|
--sysconfdir=/etc \
|
||||||
--without-python \
|
--disable-static \
|
||||||
--with-zlib
|
--enable-shared \
|
||||||
|
--disable-ipv6 \
|
||||||
|
--without-python \
|
||||||
|
--with-zlib
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
@ -3,4 +3,4 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
mkdir -p $INSTALL/usr/lib
|
||||||
cp -PR $PKG_BUILD/.libs/libxml2*.so* $INSTALL/usr/lib
|
cp -P $PKG_BUILD/.build-target/.libs/libxml2*.so* $INSTALL/usr/lib
|
||||||
|
Loading…
x
Reference in New Issue
Block a user