Util-linux and libexpat
parent
146dfe7a72
commit
5e8f447861
|
@ -41,6 +41,8 @@ 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"
|
||||
expatmirror="https://github.com/libexpat/libexpat/releases/download/R_2_2_7"
|
||||
utillinuxmirror="https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.33"
|
||||
|
||||
# filenames
|
||||
gcc="gcc-9.2.0.tar.xz"
|
||||
|
@ -73,6 +75,8 @@ 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"
|
||||
expat="expat-2.2.7.tar.xz"
|
||||
utillinux="util-linux-2.33.2.tar.xz"
|
||||
|
||||
# work directories
|
||||
tmpdir="`pwd`/pkgsrc"
|
||||
|
@ -114,6 +118,8 @@ idnsrcdir=${idn//.tar.gz}
|
|||
xcbsrcdir=${xcb//.tar.gz}
|
||||
xcbutilsrcdir=${xcbutil//.tar.gz}
|
||||
xcbprotosrcdir=${xcbproto//.tar.gz}
|
||||
expatsrcdi=${expat//.tar.xz}
|
||||
utillinuxsrcdir=${utillinux//.tar.xz}
|
||||
|
||||
if [ ! -d "$tmpdir" ]; then
|
||||
echo "Warning: package source directory not found, creating."
|
||||
|
@ -944,6 +950,52 @@ lynx()
|
|||
cd $tmpdir
|
||||
}
|
||||
|
||||
expat()
|
||||
{
|
||||
cd $tmpdir
|
||||
|
||||
# Grab sources for libexpat
|
||||
if [ ! -d $expatsrcdir ]; then
|
||||
wget $expatmirror/$expat
|
||||
tar -xf $expat
|
||||
fi
|
||||
|
||||
cd $expatsrcdir
|
||||
|
||||
./configure --prefix=$freondir
|
||||
|
||||
make -j$corecount
|
||||
|
||||
make install
|
||||
|
||||
cd $tmpdir
|
||||
}
|
||||
|
||||
util-linux()
|
||||
{
|
||||
cd $tmpdir
|
||||
|
||||
# Grab sources for util-linux
|
||||
if [ ! -d $utillinuxsrcdir ]; then
|
||||
wget $utillinuxmirror/$utillinux
|
||||
tar -xf $utillinux
|
||||
fi
|
||||
|
||||
cd $utillinuxsrcdir
|
||||
|
||||
./configure --prefix=$freondir \
|
||||
--without-python \
|
||||
--disable-makeinstall-chown \
|
||||
--without-systemdsystemunitdir \
|
||||
--without-ncurses
|
||||
|
||||
make -j$corecount
|
||||
|
||||
make install
|
||||
|
||||
cd $tmpdir
|
||||
}
|
||||
|
||||
idn()
|
||||
{
|
||||
cd $tmpdir
|
||||
|
|
Loading…
Reference in New Issue