libmenu-cache addition

master
Chris Dorman 2020-12-01 19:26:02 -08:00
parent 406a1abe76
commit 2e4f9a6bfc
1 changed files with 25 additions and 1 deletions

View File

@ -53,6 +53,7 @@ selinuxmirror="http://deb.debian.org/debian/pool/main/libs/libselinux"
ffimirror="https://sourceware.org/ftp/libffi"
pcremirror="https://downloads.sourceforge.net/pcre"
fmmirror="https://downloads.sourceforge.net/pcmanfm"
menucachemirror="https://downloads.sourceforge.net/lxde"
# filenames
gcc="gcc-9.2.0.tar.xz"
@ -98,6 +99,7 @@ pcre="pcre-8.41.tar.bz2"
selinux="libselinux_2.8.orig.tar.gz"
fm="libfm-1.2.5.tar.xz"
ffi="libffi-3.2.1.tar.gz"
menucache="menu-cache-1.1.0.tar.xz"
# work directories
tmpdir="`pwd`/pkgsrc"
@ -152,7 +154,7 @@ ffisrcdir=${ffi//.tar.gz}
pcresrcdir=${pcre//.tar.bz2}
selinuxsrcdir=${selinux//.orig.tar.gz}
fmsrcdir=${fm//.tar.xz}
menucachesrcdir=${menucache//.tar.xz}
if [ ! -d "$tmpdir" ]; then
echo "Warning: package source directory not found, creating."
@ -1067,6 +1069,28 @@ cairo()
cd $tmpdir
}
menu-cache()
{
cd $tmpdir
# Grab sources for libmenu-cache
if [ ! -d $menucachesrcdir ]; then
wget $menucachemirror/$menucache
tar -xf $menucache
fi
cd $menucachesrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir
}
pixman()
{
cd $tmpdir