summaryrefslogtreecommitdiff
path: root/repo/system/libidn.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
committerdavidovski <david@davidovski.xyz>2022-01-16 01:23:51 +0000
commitcb447620084a20be80d116c81c2e9ec110be7118 (patch)
tree9fc0d714abbb5c6326b60616a5fd27ec9f984895 /repo/system/libidn.xibuild
parent153011e9129c6055ef21c48caf65a23e74a91418 (diff)
restructured repo system
Diffstat (limited to 'repo/system/libidn.xibuild')
-rw-r--r--repo/system/libidn.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/system/libidn.xibuild b/repo/system/libidn.xibuild
new file mode 100644
index 0000000..ddb9d08
--- /dev/null
+++ b/repo/system/libidn.xibuild
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+DEPS=(glibc)
+
+SOURCE=https://ftp.gnu.org/gnu/libidn/libidn2-2.3.2.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 -pv $PKG_DEST/usr/share/doc/libidn-2.3.2 &&
+ cp -r -v doc/* $PKG_DEST/usr/share/doc/libidn-2.3.2
+}