Added pcre, libffi, libfm, as well as shitty selinux

master
Chris Dorman 2020-12-01 18:54:51 -08:00
parent 62464eb746
commit ed62ac46a9
1 changed files with 109 additions and 1 deletions

View File

@ -49,6 +49,10 @@ cairomirror="https://www.cairographics.org/releases"
gdkpixbufmirror="http://ftp.gnome.org/pub/gnome/sources/gdk-pixbuf/2.36"
atkmirror="http://ftp.gnome.org/pub/gnome/sources/atk/2.26"
gobjectintromirror="http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/1.54"
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"
# filenames
gcc="gcc-9.2.0.tar.xz"
@ -90,6 +94,10 @@ gdkpixbuf="gdk-pixbuf-2.36.11.tar.xz"
cairo="cairo-1.14.12.tar.xz"
pixman="pixman-0.34.0.tar.gz"
atk="atk-2.26.1.tar.xz"
pcre="pcre-8.41.tar.bz2"
selinux="libselinux_2.3-2.debian.tar.xz"
fm="libfm-1.2.5.tar.xz"
ffi="libffi-3.2.1.tar.gz"
# work directories
tmpdir="`pwd`/pkgsrc"
@ -140,6 +148,10 @@ cairosrcdir=${cairo//.tar.xz}
pixmansrcdir=${pixman//.tar.gz}
atksrcdir=${atk//.tar.xz}
gobjectintrosrcdir=${gobjectintro//.tar.xz}
ffisrcdir=${ffi//.tar.gz}
pcresrcdir=${pcre//.tar.bz2}
selinuxsrcdir=${selinux//.tar.xz}
fmsrcdir=${fm//.tar.xz}
if [ ! -d "$tmpdir" ]; then
@ -1164,11 +1176,84 @@ util-linux()
cd $tmpdir
}
pcre()
{
cd $tmpdir
# Grab sources for pcre
if [ ! -d $pcresrcdir ]; then
wget $pcremirror/$pcre
tar -xf $pcre
fi
cd $pcresrcdir
./configure --prefix=$freondir \
--docdir=$freondir/share/doc/pcre-8.41 \
--enable-unicode-properties \
--enable-pcre16 \
--enable-pcre32 \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 \
--disable-static
make -j$corecount
make install
cd $tmpdir
}
ffi()
{
cd $tmpdir
# Grab sources for libffi
if [ ! -d $ffisrcdir ]; then
wget $ffimirror/$ffi
tar -xf $ffi
fi
cd $ffisrcdir
./configure --prefix=$freondir --disable-static
make -j$corecount
make install
cd $tmpdir
}
selinux()
{
cd $tmpdir
# Grab sources for libidn
if [ ! -d $selinuxsrcdir ]; then
wget $selinuxmirror/$selinux
tar -xf $selinux
fi
cd $selinuxsrcdir
./configure --prefix=$freondir \
--sysconfdir=$freondir/etc \
--docdir=$freondir/share \
--disable-static
make -j$corecount
make install
cd $tmpdir
}
idn()
{
cd $tmpdir
# Grab sources for Lynx
# Grab sources for libidn
if [ ! -d $idnsrcdir ]; then
wget $idnmirror/$idn
tar -xf $idn
@ -1185,6 +1270,29 @@ idn()
cd $tmpdir
}
libfm()
{
cd $tmpdir
# Grab sources for libfm
if [ ! -d $fmsrcdir ]; then
wget $fmmirror/$fm
tar -xf $fm
fi
cd $fmsrcdir
./configure --prefix=$freondir \
--sysconfdir=$freondir/etc \
--disable-static
make -j$corecount
make install
cd $tmpdir
}
hexchat()
{
cd $tmpdir