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

Revision 28411, 1.4 KB (checked in by davidb, 6 years ago)

More cascade-makifying the code

  • 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  /bin/cp s-* $GEXT_JENA_INSTALLED/bin/script/.
33  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/s-*
34
35  /bin/cp fuseki-server $GEXT_JENA_INSTALLED/bin/script/.
36  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/fuseki-server
37  /bin/cp fuseki-server.bat $GEXT_JENA_INSTALLED/bin/script/.
38  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/fuseki-server.bat
39
40  /bin/cp fuseki $GEXT_JENA_INSTALLED/bin/script/.
41  chmod a+rx $GEXT_JENA_INSTALLED/bin/script/fuseki
42
43  /bin/cp fuseki-server.jar $GEXT_JENA_INSTALLED/.
44  chmod a+r $GEXT_JENA_INSTALLED/fuseki-server.jar
45
46  /bin/cp config.ttl $GEXT_JENA_INSTALLED/.
47  chmod a+r $GEXT_JENA_INSTALLED/config.ttl
48
49  popd
50fi
51
52opt_run_tarclean $tarclean $package $version
53
Note: See TracBrowser for help on using the browser.