[Groonga-commit] groonga/groonga at a08e64d [master] deb: use ZeroMQ 3.x package for Debian jessie and sid

Back to archive index

HAYASHI Kentaro null+****@clear*****
Mon Jul 22 15:18:50 JST 2013


HAYASHI Kentaro	2013-07-22 15:18:50 +0900 (Mon, 22 Jul 2013)

  New Revision: a08e64dc84af52c5c0145508ef3192a611fc027f
  https://github.com/groonga/groonga/commit/a08e64dc84af52c5c0145508ef3192a611fc027f

  Message:
    deb: use ZeroMQ 3.x package for Debian jessie and sid
    
    * squeeze,lucid - no ZeroMQ package
    * jessie,sid - ZeroMQ 2.x and ZeroMQ 3.x package
    * other - ZeroMQ 2.x package only

  Modified files:
    packages/apt/build-deb.sh

  Modified: packages/apt/build-deb.sh (+11 -5)
===================================================================
--- packages/apt/build-deb.sh    2013-07-22 14:46:20 +0900 (3b7a6f8)
+++ packages/apt/build-deb.sh    2013-07-22 15:18:50 +0900 (42fd9e1)
@@ -68,11 +68,17 @@ else
     ruby -i'' -ne 'print $_ unless /libmsgpack/' /tmp/${PACKAGE}-debian/control
 fi
 
-if aptitude show libzmq-dev > /dev/null 2>&1; then
-    DEPENDED_PACKAGES="${DEPENDED_PACKAGES} libzmq-dev"
-else
-    ruby -i'' -ne 'print $_ unless /libzmq/' /tmp/${PACKAGE}-debian/control
-fi
+case $(lsb_release -s -c) in
+    squeeze|lucid)
+	ruby -i'' -ne 'print $_ unless /libzmq/' /tmp/${PACKAGE}-debian/control
+	;;
+    jessie|sid)
+	DEPENDED_PACKAGES="${DEPENDED_PACKAGES} libzmq3-dev"
+	;;
+    *)
+	DEPENDED_PACKAGES="${DEPENDED_PACKAGES} libzmq-dev"
+	;;
+esac
 
 if aptitude show libevent-dev > /dev/null 2>&1; then
     DEPENDED_PACKAGES="${DEPENDED_PACKAGES} libevent-dev"
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index