From 783e0ebb0da2dd64ce52f2225337af2c0e7e001f Mon Sep 17 00:00:00 2001
From: davidovski <david@davidovski.xyz>
Date: Mon, 31 Jan 2022 00:05:44 +0000
Subject: add libiconv

---
 repo/system/libiconv.xibuild | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 repo/system/libiconv.xibuild

(limited to 'repo')

diff --git a/repo/system/libiconv.xibuild b/repo/system/libiconv.xibuild
new file mode 100644
index 0000000..dc6d4c8
--- /dev/null
+++ b/repo/system/libiconv.xibuild
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+MAKEDEPS=(make )
+DEPS=(glibc)
+
+PKG_VER=1.16
+SOURCE=https://ftp.gnu.org/pub/gnu/libiconv/libiconv-$PKG_VER.tar.gz
+
+DESC="GNU charset conversion library"
+
+build () {
+    ./configure --prefix=/usr --disable-static &&
+    make
+}
+
+package () {
+    make prefix=/usr lib=lib DESTDIR=$PKG_DEST install
+}
-- 
cgit v1.2.1