31 lines
635 B
Plaintext
31 lines
635 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: libidn
|
|
|
|
name=libidn-32
|
|
version=1.42
|
|
release=1
|
|
source=(https://ftp.gnu.org/gnu/${name%-*}/${name%-*}-$version.tar.gz)
|
|
|
|
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/emacs
|
|
|
|
rm -rf $PKG/usr/share/info
|
|
|
|
# Remove empty directories
|
|
find $PKG -depth -empty -exec rm -r {} \;
|
|
}
|