add libidn

master
Chris Dorman 2020-11-30 23:52:45 -08:00
parent 49c3627e03
commit 277a60ff40
1 changed files with 24 additions and 0 deletions

View File

@ -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