summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--files/libiconv/lib/pkgconfig/iconv.pc13
-rw-r--r--groups/251.native_packages_lib.group4
2 files changed, 16 insertions, 1 deletions
diff --git a/files/libiconv/lib/pkgconfig/iconv.pc b/files/libiconv/lib/pkgconfig/iconv.pc
new file mode 100644
index 00000000..0e78f9d4
--- /dev/null
+++ b/files/libiconv/lib/pkgconfig/iconv.pc
@@ -0,0 +1,13 @@
+prefix=
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: iconv
+Description: library that provides an iconv() implementation, for use on systems which don't have one, or whose implementation cannot convert from/to Unicode
+Version: 1.17
+Cflags: -I${includedir}
+Cflags.private:
+Libs: -L${libdir} -liconv
+Libs.private:
+Requires.private:
diff --git a/groups/251.native_packages_lib.group b/groups/251.native_packages_lib.group
index 346b7aef..375e93e2 100644
--- a/groups/251.native_packages_lib.group
+++ b/groups/251.native_packages_lib.group
@@ -158,7 +158,9 @@ gcry_cv_visibility_attribute=yes"};
: ${PKG_LIBICONV_VERSION:=1.17};
: ${PKG_LIBICONV_URL:=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-${PKG_LIBICONV_VERSION}.tar.gz};
: ${PKG_LIBICONV_CONFIGURE_ARGS_EXTRA:="--enable-extra-encodings"};
-: ${PKG_LIBICONV_INSTALL_FILES_V2:="@../../native/include/iconv.h=%[_prefix]/../x86_64-nt64-midipix/include/iconv.h"};
+: ${PKG_LIBICONV_INSTALL_FILES_V2:="
+ @../../native/include/iconv.h=%[_prefix]/../x86_64-nt64-midipix/include/iconv.v
+ +%[_files]/lib/pkgconfig/iconv.pc=lib/pkgconfig/iconv.pc"};
: ${PKG_LIBIDN2_DEPENDS:="libunistring libiconv"};
: ${PKG_LIBIDN2_SHA256SUM:=93caba72b4e051d1f8d4f5a076ab63c99b77faee019b72b9783b267986dbb45f};
: ${PKG_LIBIDN2_VERSION:=2.3.4};