summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-01 15:30:56 +0000
committerdavidovski <david@davidovski.xyz>2022-02-01 15:30:56 +0000
commit2e7063cd2fc10d6fbcf552bd4a7da6e6634efcdc (patch)
tree84e2c23f4cf1484eedc0ab2d747d4f6a590ad1bc
parent76bc5afd5db4ccce835470db015cddf88686cea2 (diff)
added back libiconv
-rw-r--r--repo/devel/pkg-config.xibuild2
-rw-r--r--repo/system/libiconv.xibuild19
2 files changed, 20 insertions, 1 deletions
diff --git a/repo/devel/pkg-config.xibuild b/repo/devel/pkg-config.xibuild
index df21449..df8fa03 100644
--- a/repo/devel/pkg-config.xibuild
+++ b/repo/devel/pkg-config.xibuild
@@ -11,7 +11,7 @@ build () {
./configure --prefix=/usr \
--with-internal-glib \
--disable-host-tool \
- --with-libiconv=gnu \
+ --with-libiconv \
--docdir=/usr/share/doc/pkg-config-$PKG_VER --with-libiconv=gnu
make
}
diff --git a/repo/system/libiconv.xibuild b/repo/system/libiconv.xibuild
new file mode 100644
index 0000000..b22b6c6
--- /dev/null
+++ b/repo/system/libiconv.xibuild
@@ -0,0 +1,19 @@
+#!/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
+}
+