summaryrefslogtreecommitdiff
path: root/repo/core/libidn.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-12-23 15:02:23 +0000
committerdavidovski <david@davidovski.xyz>2021-12-23 15:02:23 +0000
commitff626b7a3f4fec0e7ed2335cea3f2b01d2eeffb0 (patch)
tree4884f75b101daee8cdfaf4239aef24b0a2ec8af0 /repo/core/libidn.xibuild
parent9527d12940dcc1973ccac828af6b4311ab8b8414 (diff)
added libidn
Diffstat (limited to 'repo/core/libidn.xibuild')
-rw-r--r--repo/core/libidn.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/core/libidn.xibuild b/repo/core/libidn.xibuild
new file mode 100644
index 0000000..989471c
--- /dev/null
+++ b/repo/core/libidn.xibuild
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+DEPS=(glibc)
+
+SOURCE=https://ftp.gnu.org/gnu/libidn/libidn-1.36.tar.gz
+DESC="Free software implementation of IDNA2008, Punycode and TR46"
+
+build () {
+ ./configure --prefix=/usr --disable-static
+ make
+ make DESTDIR=$PKG_DEST install
+
+ find doc -name "Makefile*" -delete &&
+ rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &&
+ mkdir -v $PKG_DEST/usr/share/doc/libidn-1.36 &&
+ cp -r -v doc/* $PKG_DEST/usr/share/doc/libidn-1.36
+}