29 lines
614 B
Plaintext
29 lines
614 B
Plaintext
|
# 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 {} \;
|
||
|
}
|