summaryrefslogtreecommitdiff
path: root/repo/core
diff options
context:
space:
mode:
Diffstat (limited to 'repo/core')
-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
+}