enca: add libiconv support

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-02-10 12:27:58 +01:00
parent 8e39b0161d
commit c5e111f5a9
2 changed files with 8 additions and 1 deletions

View File

@ -22,6 +22,8 @@
. config/options $1
export LDFLAGS="$LDFLAGS -liconv"
cd $PKG_BUILD
ac_cv_file__dev_random=yes \
ac_cv_file__dev_urandom=no \
@ -36,6 +38,11 @@ CPPFLAGS="-I$SYSROOT_PREFIX/usr/include" \
--datadir=/usr/share \
--enable-shared \
--disable-static \
--disable-external \
--with-libiconv-prefix="$SYSROOT_PREFIX/usr" \
--without-librecode \
--disable-rpath \
--with-gnu-ld
make CC="$HOST_CC" \
CPPFLAGS="$HOST_CPPFLAGS" \

View File

@ -25,7 +25,7 @@ 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=""
PKG_DEPENDS="libiconv"
PKG_BUILD_DEPENDS="toolchain libiconv"
PKG_PRIORITY="optional"
PKG_SECTION="other"