blob: 07c835a5a48c915f6b5fe3a26af0bd592d836405 (
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: libidn
5
6 name=libidn-32
7 version=1.41
8 release=1
9 source=(https://ftp.gnu.org/gnu/${name%-*}/${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/emacs
25
26 rm -rf $PKG/usr/share/info
27
28 # Remove empty directories
29 find $PKG -depth -empty -exec rm -r {} \;
30 }
|