mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
fribidi: convert to new package format
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
c6940a40d8
commit
6a314fe6e3
@ -1,43 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
################################################################################
|
||||
# This file is part of OpenELEC - http://www.openelec.tv
|
||||
# Copyright (C) 2009-2014 Stephan Raue (stephan@openelec.tv)
|
||||
#
|
||||
# OpenELEC 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 of the License, or
|
||||
# (at your option) any later version.
|
||||
#
|
||||
# OpenELEC 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. If not, see <http://www.gnu.org/licenses/>.
|
||||
################################################################################
|
||||
|
||||
. config/options $1
|
||||
|
||||
CFLAGS="$CFLAGS -DFRIBIDI_CHUNK_SIZE=4080"
|
||||
CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||
|
||||
cd $PKG_BUILD
|
||||
./configure --host=$TARGET_NAME \
|
||||
--build=$HOST_NAME \
|
||||
--prefix=/usr \
|
||||
--disable-shared \
|
||||
--enable-static \
|
||||
--disable-debug \
|
||||
--disable-deprecated \
|
||||
--disable-silent-rules \
|
||||
--enable-malloc \
|
||||
--enable-charsets \
|
||||
--with-gnu-ld \
|
||||
--without-glib
|
||||
|
||||
make
|
||||
|
||||
$MAKEINSTALL
|
||||
cp -f $PKG_DIR/scripts/$1-config $ROOT/$TOOLCHAIN/bin/$1-config
|
@ -24,11 +24,32 @@ PKG_LICENSE="LGPL"
|
||||
PKG_SITE="http://fribidi.org/"
|
||||
PKG_URL="http://fribidi.org/download/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS=""
|
||||
PKG_BUILD_DEPENDS="toolchain"
|
||||
PKG_BUILD_DEPENDS_TARGET="toolchain"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="other"
|
||||
PKG_SHORTDESC="fribidi: The Bidirectional Algorithm library"
|
||||
PKG_LONGDESC="The library implements all of the algorithm as described in the Unicode Standard Annex #9, The Bidirectional Algorithm, http://www.unicode.org/unicode/reports/tr9/. FriBidi is exhautively tested against Bidi Reference Code, and due to our best knowledge, does not contain any conformance bugs."
|
||||
PKG_IS_ADDON="no"
|
||||
|
||||
PKG_IS_ADDON="no"
|
||||
PKG_AUTORECONF="yes"
|
||||
|
||||
PKG_CONFIGURE_OPTS_TARGET="--disable-shared \
|
||||
--enable-static \
|
||||
--disable-debug \
|
||||
--disable-deprecated \
|
||||
--disable-silent-rules \
|
||||
--enable-malloc \
|
||||
--enable-charsets \
|
||||
--with-gnu-ld \
|
||||
--without-glib"
|
||||
|
||||
export CFLAGS="$CFLAGS -DFRIBIDI_CHUNK_SIZE=4080"
|
||||
export CFLAGS="$CFLAGS -fPIC -DPIC"
|
||||
|
||||
post_makeinstall_target() {
|
||||
mkdir -p $ROOT/$TOOLCHAIN/bin
|
||||
cp -f $PKG_DIR/scripts/fribidi-config $ROOT/$TOOLCHAIN/bin
|
||||
chmod +x $ROOT/$TOOLCHAIN/bin/fribidi-config
|
||||
|
||||
rm -rf $INSTALL/usr/bin
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user