mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Initial script for fastjar-0.97. Has build issues.
see http://ports.haiku-files.org/wiki/app-arch/fastjar/0.97/1
This commit is contained in:
30
app-arch/fastjar/fastjar-0.97.sh
Executable file
30
app-arch/fastjar/fastjar-0.97.sh
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
PACKAGE="app-arch/fastjar"
|
||||
VERSION="0.97"
|
||||
HOMEPAGE="https://savannah.nongnu.org/projects/fastjar"
|
||||
URL="http://mirror.its.uidaho.edu/pub/savannah/fastjar/"
|
||||
FILE="fastjar-0.97.tar.gz"
|
||||
|
||||
PREFIX=/boot/common
|
||||
HAIKUPORTS="http://ports.haiku-files.org/wiki"
|
||||
CWD=`pwd`
|
||||
|
||||
if [ ! -d ${PACKAGE}/${VERSION} ] ; then
|
||||
mkdir -p ${PACKAGE}/${VERSION}
|
||||
fi
|
||||
if [ ! -e ${FILE} ] ; then
|
||||
wget ${URL}${FILE}
|
||||
fi
|
||||
cd ${PACKAGE}/${VERSION}
|
||||
tar xvf ${CWD}/${FILE}
|
||||
cd fastjar-0.97
|
||||
libtoolize --force --install
|
||||
aclocal --force
|
||||
automake --force-missing
|
||||
autoconf --force
|
||||
configure --prefix=${PREFIX}
|
||||
make && make install && echo && echo " Installation complete." || echo " Installation FAILED !"
|
||||
|
||||
echo " For more information, see ${HAIKUPORTS}/${PACKAGE}"
|
||||
echo
|
||||
Reference in New Issue
Block a user