source: gs2-extensions/afrepo/trunk/src/packages/CASCADE-MAKE/4STORE.sh@ 27609

Last change on this file since 27609 was 27609, checked in by davidb, 11 years ago

Setting needed by 'cluster1'

  • Property svn:executable set to *
File size: 1.6 KB
Line 
1#!/bin/bash
2
3package=4store
4version=-v1.1.5
5
6progname=$0
7
8source ../cascade-make/lib/cascade-lib.bash GEXT_AFREPO ../.. $*
9
10prefix=$GEXT_AFREPO_INSTALLED
11
12
13opt_run_untar $force_untar $auto_untar $package $version
14
15# Doing "-lreadline -lncurses" OK
16# But the otherway around "-lncurses -lreadline" (on CentOS) leads to linking errors,
17# requiring '-ltermcap' to be explicitly listed
18# => Only one Makefile.in has it the wrong way around => patch that one
19
20if [ "x$1" = "xtarclean" ] ; then
21 /bin/rm -f .PATCH-DONE.$package
22elif [ ! -f .PATCH-DONE.$package ] ; then
23
24 echo "*******"
25 echo "* Applying $package patch"
26 echo "*******"
27
28 cd "$package$version" && patch -p0 < ../patches/$package.patch && cd ..
29
30 if [ $? = 0 ] ; then
31 echo "Patch applied" > .PATCH-DONE.$package
32 fi
33
34fi
35
36
37#opt_run_configure $force_config $auto_config $package $version $prefix \
38
39ac_cv_func_malloc_0_nonnull=yes \
40RAPTOR_CFLAGS=-I$GEXT_AFREPO_INSTALLED/include/raptor2 RAPTOR_LIBS="$GEXT_AFREPO_INSTALLED/lib/libraptor2.so" \
41RASQAL_CFLAGS=-I$GEXT_AFREPO_INSTALLED/include/rasqal RASQAL_LIBS="$GEXT_AFREPO_INSTALLED/lib/librasqal.so" \
42 opt_run_configure $force_config $auto_config $package $version $prefix \
43 --with-storage-path=$prefix/var/lib/4store --with-config-path=$prefix/etc/4store.conf
44
45
46opt_run_make $compile $package $version
47#opt_run_make $install $package $version "install" DESTDIR=$prefix
48opt_run_make $install $package $version "install"
49opt_run_make $clean $package $version "clean"
50opt_run_make $distclean $package $version "distclean"
51
52opt_run_tarclean $tarclean $package $version
53
Note: See TracBrowser for help on using the repository browser.