[crux-commits] ports/compat-32 (3.5): libidn2-32: initial import

crux at crux.nu crux at crux.nu
Fri Jul 24 10:07:48 UTC 2020


commit 28146e225365208c27bcf1cd25e2d90016edbfe4
Author: Danny Rawlins <monster.romster at gmail.com>
Date:   Fri Jul 24 19:02:32 2020 +1000

    libidn2-32: initial import

diff --git a/libidn2-32/.32bit b/libidn2-32/.32bit
new file mode 100644
index 0000000..e69de29
diff --git a/libidn2-32/.footprint b/libidn2-32/.footprint
new file mode 100644
index 0000000..bfd24da
--- /dev/null
+++ b/libidn2-32/.footprint
@@ -0,0 +1,9 @@
+drwxr-xr-x	root/root	usr/
+drwxr-xr-x	root/root	usr/lib32/
+-rw-r--r--	root/root	usr/lib32/libidn2.a
+-rwxr-xr-x	root/root	usr/lib32/libidn2.la
+lrwxrwxrwx	root/root	usr/lib32/libidn2.so -> libidn2.so.0.3.7
+lrwxrwxrwx	root/root	usr/lib32/libidn2.so.0 -> libidn2.so.0.3.7
+-rwxr-xr-x	root/root	usr/lib32/libidn2.so.0.3.7
+drwxr-xr-x	root/root	usr/lib32/pkgconfig/
+-rw-r--r--	root/root	usr/lib32/pkgconfig/libidn2.pc
diff --git a/libidn2-32/.signature b/libidn2-32/.signature
new file mode 100644
index 0000000..600302e
--- /dev/null
+++ b/libidn2-32/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/compat-32.pub
+RWSwxGo/zH7eXTSivUwwIjhbilBIZFlAn9Xb96Muss9p6oDvIOSb2RqGCeVcQqgQIB2/O3+LClMj2VObFI0otavXMnQMiJ9W3wk=
+SHA256 (Pkgfile) = c65ed73e9fbee2933bbf708807808b2ca25e1d33cb14e92fdc687f81d29dd573
+SHA256 (.footprint) = dbf5b385f2313124eabf7b7d71d52dca043bd1e97b4d0e71c51aad55315535fd
+SHA256 (libidn2-2.3.0.tar.lz) = 6b222435016e2d9fce34af0b21057ebc85704c27e41a781466d9287f0627dc93
diff --git a/libidn2-32/Pkgfile b/libidn2-32/Pkgfile
new file mode 100644
index 0000000..ec25c53
--- /dev/null
+++ b/libidn2-32/Pkgfile
@@ -0,0 +1,28 @@
+# Description: Provides support for IETF Internationalized Domain Names (IDN).
+# URL: http://www.gnu.org/software/libidn/
+# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
+# Depends on: libidn2
+
+name=libidn2-32
+version=2.3.0
+release=1
+source=(https://ftp.gnu.org/gnu/libidn/${name%-*}-$version.tar.lz)
+
+build() {
+	cd ${name%-*}-$version
+
+	./configure \
+		--prefix=/usr \
+		--libdir=/usr/lib32 \
+		--disable-nls
+
+	make
+	make DESTDIR=$PKG install
+
+	rm -r \
+		$PKG/usr/{bin,include,share/man} \
+		$PKG/usr/share/{gtk-doc,info}
+
+	# Remove empty directories
+	find $PKG -depth -empty -exec rm -r {} \;
+}


More information about the crux-commits mailing list