summaryrefslogtreecommitdiff
path: root/toolchain/libiconv
diff options
context:
space:
mode:
Diffstat (limited to 'toolchain/libiconv')
-rw-r--r--toolchain/libiconv/Makefile24
-rw-r--r--toolchain/libiconv/Makefile.inc9
2 files changed, 33 insertions, 0 deletions
diff --git a/toolchain/libiconv/Makefile b/toolchain/libiconv/Makefile
new file mode 100644
index 000000000..8da551437
--- /dev/null
+++ b/toolchain/libiconv/Makefile
@@ -0,0 +1,24 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+include Makefile.inc
+include ../rules.mk
+include ${ADK_TOPDIR}/mk/buildhlp.mk
+
+$(WRKBUILD)/.configured:
+ (cd $(WRKBUILD); \
+ $(WRKBUILD)/configure \
+ --prefix=$(STAGING_HOST_DIR)/usr \
+ );
+ touch $@
+
+$(WRKBUILD)/.compiled: $(WRKBUILD)/.configured
+ $(MAKE) ${MPC_MAKEOPTS} -C $(WRKBUILD) all
+ touch $@
+
+$(WRKBUILD)/.installed: $(WRKBUILD)/.compiled
+ $(MAKE) -C $(WRKBUILD) install
+ touch $@
+
+include ${ADK_TOPDIR}/mk/toolchain.mk
diff --git a/toolchain/libiconv/Makefile.inc b/toolchain/libiconv/Makefile.inc
new file mode 100644
index 000000000..bf6b569c5
--- /dev/null
+++ b/toolchain/libiconv/Makefile.inc
@@ -0,0 +1,9 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+PKG_NAME:= libiconv
+PKG_VERSION:= 1.18
+PKG_RELEASE:= 1
+PKG_HASH:= 3b08f5f4f9b4eb82f151a7040bfd6fe6c6fb922efe4b1659c66ea933276965e8
+PKG_SITES:= https://ftp.gnu.org/pub/gnu/libiconv/
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz