root/gs2-extensions/apache-jena/trunk/src/packages/CASCADE-MAKE/FUSEKI.sh @ 28462

Revision 28462, 1.8 KB (checked in by davidb, 7 years ago)

Extra config file to install

  • Property svn:executable set to *
Line 
1#!/bin/bash
2
3package=jena-fuseki
4version=-1.0.0
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXT_JENA ../.. $*
9
10prefix=$GEXT_JENA_INSTALLED
11
12opt_run_untar $force_untar $auto_untar $package $version
13#opt_run_configure $force_config $auto_config $package $version $prefix
14
15#opt_run_make $compile $package $version
16#opt_run_make $install $package $version "install"
17#opt_run_make $clean $package $version "clean"
18#opt_run_make $distclean $package $version "distclean"
19
20if [ $install = "1"  ] ; then
21
22  if [ ! -d "$GEXT_JENA_INSTALLED/bin" ] ; then
23    mkdir "$GEXT_JENA_INSTALLED/bin"
24  fi
25
26  if [ ! -d "$GEXT_JENA_INSTALLED/bin/script" ] ; then
27    mkdir "$GEXT_JENA_INSTALLED/bin/script"
28  fi
29
30  pushd "$package$version"
31
32  echo "===="
33  echo "= Installing Fuseki"
34  echo "===="
35  echo "= Installing server-side scripts"
36  /bin/cp fuseki-server $GEXT_JENA_INSTALLED/bin/script/.
37  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/fuseki-server
38  /bin/cp fuseki-server.bat $GEXT_JENA_INSTALLED/bin/script/.
39  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/fuseki-server.bat
40
41  /bin/cp fuseki $GEXT_JENA_INSTALLED/bin/script/.
42  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/fuseki
43
44  /bin/cp fuseki-server.jar $GEXT_JENA_INSTALLED/.
45  chmod a+r $GEXT_JENA_INSTALLED/fuseki-server.jar
46
47  echo "= Installing client-side scripts"
48  /bin/cp s-* $GEXT_JENA_INSTALLED/bin/script/.
49  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/s-*
50
51
52  echo "= Installing configuration files"
53#  /bin/cp config.ttl $GEXT_JENA_INSTALLED/.
54#  chmod a+r $GEXT_JENA_INSTALLED/config.ttl
55
56  /bin/cp -r pages $GEXT_JENA_INSTALLED/etc/.
57  chmod -R a+r $GEXT_JENA_INSTALLED/etc/pages
58
59  /bin/cp log4j.properties $GEXT_JENA_INSTALLED/.
60  chmod a+r $GEXT_JENA_INSTALLED/log4j.properties
61
62  echo "===="
63  echo ""
64
65  popd
66fi
67
68opt_run_tarclean $tarclean $package $version
69
Note: See TracBrowser for help on using the browser.