Last change
on this file since 30202 was 30202, checked in by davidb, 9 years ago |
Zach's image viewer extension for Greenstone using diva from McGill University
|
File size:
971 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 | package=iipsrv
|
---|
4 | version=-0.9.9
|
---|
5 |
|
---|
6 | progname=$0
|
---|
7 |
|
---|
8 | source ../../bin/script/test-setup.bash
|
---|
9 | source ../../lib/cascade-lib.bash
|
---|
10 |
|
---|
11 | prefix=$GEXTDIVA_INSTALLED/cmdline
|
---|
12 |
|
---|
13 | export PKG_CONFIG_PATH=$prefix/lib/pkgconfig
|
---|
14 |
|
---|
15 | export CFLAGS="-I$prefix/include"
|
---|
16 | export LDFLAGS="-L$prefix/lib"
|
---|
17 |
|
---|
18 | opt_run_untar $force_untar $auto_untar $package $version
|
---|
19 | opt_run_configure $force_config $auto_config $package $version "$prefix" "--with-tiff-includes=$prefix/include --with-tiff-libraries=$prefix/lib"
|
---|
20 |
|
---|
21 | opt_run_make $compile $package $version
|
---|
22 | opt_run_make $install $package $version "install"
|
---|
23 |
|
---|
24 | if [ $install = "1" ] ; then
|
---|
25 | cp "$package$version/src/iipsrv.fcgi" "$prefix/fcgi";
|
---|
26 | fi
|
---|
27 |
|
---|
28 | opt_run_make $clean $package $version "clean"
|
---|
29 | opt_run_make $distclean $package $version "distclean"
|
---|
30 |
|
---|
31 | if [ $clean = "1" ] || [ $distclean = "1" ] ; then
|
---|
32 | if [ -f "$prefix/fcgi/iipsrv.fcgi" ] ; then
|
---|
33 | /bin/rm -rf "$prefix/fcgi/iipsrv.fcgi";
|
---|
34 | fi
|
---|
35 | fi
|
---|
36 |
|
---|
37 | opt_run_tarclean $tarclean $package $version
|
---|
38 |
|
---|
39 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.