Debian wheezy Makefile.install target
authorBill Erickson <berick@esilibrary.com>
Tue, 19 Jun 2012 19:36:25 +0000 (15:36 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 15 Mar 2013 04:56:51 +0000 (00:56 -0400)
Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

README
src/extras/Makefile.install

diff --git a/README b/README
index 6278b89..4634ffb 100644 (file)
--- a/README
+++ b/README
@@ -39,6 +39,7 @@ make -f src/extras/Makefile.install <osname>
 
 Well-tested values for <osname> include:
 
+  * `debian-wheezy` for Debian 7.0
   * `debian-squeeze` for Debian 6.0
   * `ubuntu-lucid` for Ubuntu 10.04
   * `ubuntu-precise` for Ubuntu 12.04
index 50b3cc1..7942b6f 100644 (file)
@@ -4,12 +4,14 @@
 #
 # Makefile to install prerequisites for OpenSRF
 #
-# Currently supports Debian (squeeze), Ubuntu (lucid/precise)
+# Currently supports Debian (wheezy/squeeze), Ubuntu (lucid/precise)
 # and Fedora (16).
 #
 # Installs Perl prereqs, libjs with Perl wrapper
 #
 # usage:
+#      make -f Makefile.install debian-wheezy
+#      - or -
 #      make -f Makefile.install debian-squeeze
 #      - or -
 #      make -f Makefile.install ubuntu-lucid
@@ -154,6 +156,13 @@ EXTRA_DEBS_SQUEEZE = \
        libxml-libxml-perl \
        libxml-libxslt-perl
 
+EXTRA_DEBS_WHEEZY = \
+       libmemcached-dev \
+       libmemcached-tools \
+       libxml-libxml-perl \
+       libxml-libxslt-perl \
+       libncurses5-dev
+
 EXTRA_DEBS_UBUNTU_LUCID = \
        libmemcached-dev\
        libxml-libxml-perl \
@@ -171,7 +180,9 @@ all:
        @echo "please specify an OS" && exit 0
 
 
+debian-wheezy: generic_debian wheezy
 debian-squeeze: generic_debian squeeze
+wheezy: install_extra_debs_wheezy
 squeeze: install_extra_debs_squeeze
 generic_debian: install_debs debian_sys_config
 
@@ -204,6 +215,9 @@ install_debs:
 install_extra_debs:
        $(APT_TOOL) install $(EXTRA_DEBS)
 
+install_extra_debs_wheezy: install_extra_debs
+       $(APT_TOOL) install $(EXTRA_DEBS_WHEEZY)
+
 install_extra_debs_squeeze: install_extra_debs
        $(APT_TOOL) install $(EXTRA_DEBS_SQUEEZE)