mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 21:56:42 +00:00
enca: make build with libiconv optional
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
cb6268a1c6
commit
134912e2cc
@ -22,7 +22,10 @@
|
||||
|
||||
. config/options $1
|
||||
|
||||
if [ "$ICONV" = "libiconv" ]; then
|
||||
CONFIG_ENCA="--with-libiconv-prefix=$SYSROOT_PREFIX/usr"
|
||||
export LDFLAGS="$LDFLAGS -liconv"
|
||||
fi
|
||||
|
||||
cd $PKG_BUILD
|
||||
ac_cv_file__dev_random=yes \
|
||||
@ -39,7 +42,7 @@ CPPFLAGS="-I$SYSROOT_PREFIX/usr/include" \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--disable-external \
|
||||
--with-libiconv-prefix="$SYSROOT_PREFIX/usr" \
|
||||
$CONFIG_ENCA \
|
||||
--without-librecode \
|
||||
--disable-rpath \
|
||||
--with-gnu-ld
|
||||
|
@ -25,8 +25,8 @@ PKG_ARCH="any"
|
||||
PKG_LICENSE="GPL"
|
||||
PKG_SITE="http://freshmeat.net/projects/enca/"
|
||||
PKG_URL="http://dl.cihar.com/enca/$PKG_NAME-$PKG_VERSION.tar.bz2"
|
||||
PKG_DEPENDS="libiconv"
|
||||
PKG_BUILD_DEPENDS="toolchain libiconv"
|
||||
PKG_DEPENDS="$ICONV"
|
||||
PKG_BUILD_DEPENDS="toolchain $ICONV"
|
||||
PKG_PRIORITY="optional"
|
||||
PKG_SECTION="other"
|
||||
PKG_SHORTDESC="enca: detects the encoding of text files, on the basis of knowledge of their language."
|
||||
|
Loading…
x
Reference in New Issue
Block a user