summaryrefslogtreecommitdiff
path: root/repo
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-31 00:05:44 +0000
committerdavidovski <david@davidovski.xyz>2022-01-31 00:05:44 +0000
commit783e0ebb0da2dd64ce52f2225337af2c0e7e001f (patch)
tree7b0df6a1eee839e731445e162bcc3243f60415db /repo
parentb80818ed4ae52d7271a69ddb703934aa411d8a99 (diff)
add libiconv
Diffstat (limited to 'repo')
-rw-r--r--repo/system/libiconv.xibuild18
1 files changed, 18 insertions, 0 deletions
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
+}