diff --git a/build-extensions b/build-extensions index 77180e6..2c87792 100755 --- a/build-extensions +++ b/build-extensions @@ -39,6 +39,7 @@ pangomirror="https://download.gnome.org/sources/pango/1.38" fontconfigmirror="https://www.freedesktop.org/software/fontconfig/release" hexchatmirror="https://dl.hexchat.net/hexchat" pcmanfmmirror="https://downloads.sourceforge.net/pcmanfm" +idnmirror="https://ftp.gnu.org/gnu/libidn" lynxmirror="https://invisible-mirror.net/archives/lynx/tarballs" # filenames @@ -70,6 +71,7 @@ fontconfig="fontconfig-2.13.1.tar.bz2" hexchat="hexchat-2.12.4.tar.xz" pcmanfm="pcmanfm-1.3.1.tar.xz" lynx="lynx2.8.9rel.1.tar.gz" +idn="libidn-1.36.tar.gz" # work directories tmpdir="`pwd`/pkgsrc" @@ -107,6 +109,7 @@ fontconfigsrcdir=${fontconfig//.tar.bz2} hexchatsrcdir=${hexchat//.tar.xz} pcmanfmsrcdir=${pcmanfm//.tar.xz} lynxsrcdir=${lynx//.tar.gz} +idnsrcdir=${idn//.tar.gz} if [ ! -d "$tmpdir" ]; then @@ -908,6 +911,27 @@ lynx() cd $tmpdir } +idn() +{ + cd $tmpdir + + # Grab sources for Lynx + if [ ! -d $idnsrcdir ]; then + wget $idnmirror/$idn + tar -xf $idn + fi + + cd $idnsrcdir + + ./configure --prefix=$freondir + + make -j$corecount + + make install + + cd $tmpdir +} + hexchat() { cd $tmpdir