2020-07-24 19:02:32 +10:00
|
|
|
# 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
|
2021-01-19 21:26:08 +11:00
|
|
|
# Depends on: libidn2 libunistring-32
|
2020-07-24 19:02:32 +10:00
|
|
|
|
|
|
|
name=libidn2-32
|
2024-01-28 13:54:23 +01:00
|
|
|
version=2.3.7
|
2021-08-14 15:40:27 +10:00
|
|
|
release=1
|
|
|
|
source=(https://ftp.gnu.org/gnu/libidn/${name%-*}-$version.tar.gz)
|
2020-07-24 19:02:32 +10:00
|
|
|
|
|
|
|
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 {} \;
|
|
|
|
}
|