mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
lzo: split in host and target package
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
e62245c0b7
commit
58cb044436
@ -23,14 +23,16 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
cd $PKG_BUILD
|
cd $PKG_BUILD
|
||||||
./configure --host=$TARGET_NAME \
|
|
||||||
--build=$HOST_NAME \
|
mkdir -p .build-target && cd .build-target
|
||||||
--prefix=/usr \
|
../configure --host=$TARGET_NAME \
|
||||||
--exec-prefix=/usr \
|
--build=$HOST_NAME \
|
||||||
--sysconfdir=/etc \
|
--prefix=/usr \
|
||||||
--datadir=/usr/share \
|
--exec-prefix=/usr \
|
||||||
--enable-shared \
|
--sysconfdir=/etc \
|
||||||
--disable-static \
|
--datadir=/usr/share \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static \
|
||||||
|
|
||||||
make
|
make
|
||||||
|
|
||||||
|
@ -23,5 +23,5 @@
|
|||||||
. config/options $1
|
. config/options $1
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
mkdir -p $INSTALL/usr/lib
|
||||||
cp -PR $PKG_BUILD/src/.libs/*.so* $INSTALL/usr/lib
|
cp -PR $PKG_BUILD/.build-target/src/.libs/*.so* $INSTALL/usr/lib
|
||||||
|
|
||||||
|
43
packages/toolchain/archivers/lzo-host/build
Executable file
43
packages/toolchain/archivers/lzo-host/build
Executable file
@ -0,0 +1,43 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
################################################################################
|
||||||
|
# This file is part of OpenELEC - http://www.openelec.tv
|
||||||
|
# Copyright (C) 2009-2011 Stephan Raue (stephan@openelec.tv)
|
||||||
|
#
|
||||||
|
# This Program is free software; you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU General Public License as published by
|
||||||
|
# the Free Software Foundation; either version 2, or (at your option)
|
||||||
|
# any later version.
|
||||||
|
#
|
||||||
|
# This Program is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU General Public License
|
||||||
|
# along with OpenELEC.tv; see the file COPYING. If not, write to
|
||||||
|
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
|
# http://www.gnu.org/copyleft/gpl.html
|
||||||
|
################################################################################
|
||||||
|
|
||||||
|
. config/options $1
|
||||||
|
|
||||||
|
$SCRIPTS/unpack lzo
|
||||||
|
|
||||||
|
LZO_DIR=`ls -d $BUILD/lzo-[0-9]*`
|
||||||
|
|
||||||
|
setup_toolchain host
|
||||||
|
|
||||||
|
cd $LZO_DIR
|
||||||
|
|
||||||
|
mkdir -p .build-host && cd .build-host
|
||||||
|
../configure --host=$HOST_NAME \
|
||||||
|
--build=$HOST_NAME \
|
||||||
|
--prefix=$ROOT/$TOOLCHAIN \
|
||||||
|
--sysconfdir=$ROOT/$TOOLCHAIN/etc \
|
||||||
|
--datadir=/usr/share \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static \
|
||||||
|
|
||||||
|
make
|
||||||
|
make install
|
Loading…
x
Reference in New Issue
Block a user