DESCRIPTION = "Enca is an Extremely Naive Charset Analyser" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" HOMEPAGE = "http://trific.ath.cx/software/enca/" PR = "r2" SRC_URI = "http://trific.ath.cx/Ftp//enca/enca-${PV}.tar.bz2 \ file://configure-hack.patch;patch=1 \ file://dont-run-tests.patch;patch=1 \ file://configure-remove-dumbness.patch;patch=1 \ file://makefile-remove-tools.patch;patch=1 " inherit autotools EXTRA_OECONF="--with-libiconv-prefix=${STAGING_DIR}" do_configure_append() { sed -i s:-I/usr/include::g Makefile sed -i s:-I/usr/include::g */Makefile } do_compile() { cd ${S}/tools && ${BUILD_CC} -o make_hash make_hash.c cd .. oe_runmake } do_stage () { autotools_stage_all }