mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +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
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-ipv6 \
|
||||
--without-python \
|
||||
--with-zlib
|
||||
mkdir -p .build-target
|
||||
|
||||
cd .build-target
|
||||
../configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--disable-ipv6 \
|
||||
--without-python \
|
||||
--with-zlib
|
||||
|
||||
make
|
||||
|
||||
|
@ -3,4 +3,4 @@
|
||||
. config/options $1
|
||||
|
||||
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