From 6af2ed43320a2d961322fefcc74da71e882a0562 Mon Sep 17 00:00:00 2001 From: Matt Madia Date: Tue, 7 Apr 2009 03:26:03 +0000 Subject: [PATCH] Initial script for fastjar-0.97. Has build issues. see http://ports.haiku-files.org/wiki/app-arch/fastjar/0.97/1 --- app-arch/fastjar/fastjar-0.97.sh | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100755 app-arch/fastjar/fastjar-0.97.sh diff --git a/app-arch/fastjar/fastjar-0.97.sh b/app-arch/fastjar/fastjar-0.97.sh new file mode 100755 index 000000000..3d1851928 --- /dev/null +++ b/app-arch/fastjar/fastjar-0.97.sh @@ -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