summaryrefslogtreecommitdiff
path: root/recipes/libiconv/libiconv_1.12.bb
blob: 83774d651f33e432ba44bafeb27085a1874f024a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
require libiconv.inc
LICENSE = "GPLv3 LGPLv2"

PROVIDES = "virtual/libiconv"
PR = "r2"

#gettext.class cant be inherit here so use this hack
DEPENDS = "${@['','gettext-native'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}"

EXTRA_OECONF +=  "${@['--disable-nls','--enable-nls'][bb.data.getVar('USE_NLS', d, 1) == 'yes']}"

LEAD_SONAME = "libiconv.so"

SRC_URI += "file://autotools.patch \
            file://preload.patch \
           "
do_configure_append () {
        # Fix stupid libtool... handling. 
	# rpath handling can't be disabled and the Makefile's can't be regenerated..
        # (GNU sed required)
        sed -i s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ ${S}/*-libtool
}

SRC_URI[md5sum] = "c2be282595751535a618ae0edeb8f648"
SRC_URI[sha256sum] = "a99e244fd78babb95ea3c9a5c88b964994edaa1d15fd8dde5b4067801e23f0cd"