summaryrefslogtreecommitdiff
path: root/repo/core/libidn.xibuild
blob: 91f3c2fe3e4747363d10eb0b4f919bd474de07ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash

DEPS=(glibc)

SOURCE=https://ftp.gnu.org/gnu/libidn/libidn-1.36.tar.gz
DESC="Free software implementation of IDNA2008, Punycode and TR46"

build () {
    ./configure --prefix=/usr --disable-static
    make
    make DESTDIR=$PKG_DEST install

    find doc -name "Makefile*" -delete            &&
    rm -rf -v doc/{gdoc,idn.1,stamp-vti,man,texi} &&
    mkdir -pv       $PKG_DEST/usr/share/doc/libidn-1.36     &&
    cp -r -v doc/* $PKG_DEST/usr/share/doc/libidn-1.36
}