# used for installing libjs lib and header files
export JS_INSTALL_PREFIX=/usr/
-export LIBNET_Z3950_SIMPLESERVER=Net-Z3950-SimpleServer-1.16
+export LIBNET_Z3950_SIMPLESERVER=Net-Z3950-SimpleServer-1.12
export LIBNET_Z3950_SIMPLESERVER_URL=http://ftp.indexdata.dk/pub/simpleserver/$(LIBNET_Z3950_SIMPLESERVER)
+
# The libdbi sources can be fetched from sourceforge.net. They are stored on
# the open-ils.org site now for ease of direct linking
export LIBDBI=libdbi-0.8.3
mkdir -p $(JS_INSTALL_PREFIX)/include/js/
cp js/src/*.h $(JS_INSTALL_PREFIX)/include/js/
cp js/src/*.tbl $(JS_INSTALL_PREFIX)/include/js/
- if [ ! -z $(FEDORA_64) ]; then \
+ if [ ! -z $(CENTOS_64) ]; then \
cp js/src/Linux_All_DBG.OBJ/*.so $(JS_INSTALL_PREFIX)/lib64/ && \
cp js/src/Linux_All_DBG.OBJ/*.a $(JS_INSTALL_PREFIX)/lib64/; \
else \
fi;
cd $(LIBJS_PERL) && perl Makefile.PL -E4X && make && make test && make install
-
+install_yaz:
+ if [ ! -d $(YAZ) ]; then \
+ wget $(YAZ_HOST)/$(YAZ).tar.gz ; \
+ tar xzf $(YAZ).tar.gz ; \
+ cd $(YAZ) && ./configure && make && make install && ldconfig \
+ fi ;
+
clean:
make -f $(DIR)/Makefile.common clean