blob: c1e772d9f5f0fd61354a923d3113d8ef4c1cf57a (
plain)
1 # Description: Provides support for IETF Internationalized Domain Names (IDN).
2 # URL: http://www.gnu.org/software/libidn/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: libidn2 libunistring-32
5
6 name=libidn2-32
7 version=2.3.4
8 release=1
9 source=(https://ftp.gnu.org/gnu/libidn/${name%-*}-$version.tar.gz)
10
11 build() {
12 cd ${name%-*}-$version
13
14 ./configure \
15 --prefix=/usr \
16 --libdir=/usr/lib32 \
17 --disable-nls
18
19 make
20 make DESTDIR=$PKG install
21
22 rm -r \
23 $PKG/usr/{bin,include,share/man} \
24 $PKG/usr/share/{gtk-doc,info}
25
26 # Remove empty directories
27 find $PKG -depth -empty -exec rm -r {} \;
28 }
|