mirror of
https://github.com/owntone/owntone-server.git
synced 2025-01-25 21:53:17 -05:00
Adjustments to FreeBSD install and start scripts
This commit is contained in:
parent
df9bcade5a
commit
64ca694189
@ -45,30 +45,23 @@ if [ ! -d $WORKDIR ]; then
|
|||||||
fi
|
fi
|
||||||
cd $WORKDIR
|
cd $WORKDIR
|
||||||
|
|
||||||
read -p "Should the script install libavl, antlr and libantlr3c? [y/N] " yn
|
read -p "Should the script install antlr and libantlr3c? [y/N] " yn
|
||||||
if [ "$yn" = "y" ]; then
|
if [ "$yn" = "y" ]; then
|
||||||
wget http://ftp.debian.org/debian/pool/main/liba/libavl/libavl_0.3.5.orig.tar.gz
|
|
||||||
wget --no-check-certificate https://github.com/antlr/website-antlr3/raw/gh-pages/download/antlr-3.4-complete.jar
|
wget --no-check-certificate https://github.com/antlr/website-antlr3/raw/gh-pages/download/antlr-3.4-complete.jar
|
||||||
wget --no-check-certificate https://github.com/antlr/website-antlr3/raw/gh-pages/download/C/libantlr3c-3.4.tar.gz
|
wget --no-check-certificate https://github.com/antlr/website-antlr3/raw/gh-pages/download/C/libantlr3c-3.4.tar.gz
|
||||||
|
|
||||||
sudo mv antlr-3.4-complete.jar /usr/local/share/java
|
sudo mv antlr-3.4-complete.jar /usr/local/share/java
|
||||||
printf "#!/bin/sh
|
printf "#!/bin/sh
|
||||||
export CLASSPATH
|
export CLASSPATH
|
||||||
CLASSPATH=$CLASSPATH:/usr/local/share/java/antlr-3.4-complete.jar:/usr/share/java
|
CLASSPATH=\$CLASSPATH:/usr/local/share/java/antlr-3.4-complete.jar:/usr/local/share/java
|
||||||
/usr/local/openjdk8-jre/bin/java org.antlr.Tool \$*
|
/usr/local/bin/java org.antlr.Tool \$*
|
||||||
" > antlr3
|
" > antlr3
|
||||||
chmod a+x antlr3
|
chmod a+x antlr3
|
||||||
sudo mv antlr3 /usr/local/bin
|
sudo mv antlr3 /usr/local/bin
|
||||||
|
|
||||||
tar xzf libantlr3c-3.4.tar.gz
|
tar xzf libantlr3c-3.4.tar.gz
|
||||||
cd libantlr3c-3.4
|
cd libantlr3c-3.4
|
||||||
./configure && gmake && sudo gmake install
|
./configure --disable-abiflags && gmake && sudo gmake install
|
||||||
cd $WORKDIR
|
|
||||||
|
|
||||||
tar xzf libavl_0.3.5.orig.tar.gz
|
|
||||||
cd avl-0.3.5
|
|
||||||
sed -i -- 's/LIBRARIES/LIBRARY/g' GNUmakefile
|
|
||||||
gmake && sudo gmake install
|
|
||||||
cd $WORKDIR
|
cd $WORKDIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
0
scripts/freebsd_start_10.1.sh
Normal file → Executable file
0
scripts/freebsd_start_10.1.sh
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user