DESCRIPTION = "GNU libiconv - libiconv is for you if your application needs to support \ multiple character encodings, but that support lacks from your system." HOMEPAGE = "http://www.gnu.org/software/libiconv" SECTION = "libs" PRIORITY = "optional" PROVIDES = "virtual/libiconv" NOTES = "Needs to be stripped down to: ascii iso8859-1 eucjp iso-2022jp gb utf8" INC_PR = "r3" SRC_URI = "${GNU_MIRROR}/${BPN}/${BPN}-${PV}.tar.gz" #gettext.class cant be inherit here so use this hack DEPENDS = "${@['','gettext-native'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}" inherit autotools EXTRA_OECONF += "--enable-shared --enable-static --enable-relocatable \ ${@['--disable-nls','--enable-nls'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}"