[Groonga-commit] groonga/groonga at 489ebf4 [master] packages apt: check existence of libzstd-dev package

Back to archive index

Kentaro Hayashi null+****@clear*****
Mon Dec 26 22:37:02 JST 2016


Kentaro Hayashi	2016-12-26 22:37:02 +0900 (Mon, 26 Dec 2016)

  New Revision: 489ebf42acd938093dcd4489aa0b4ec324a794c2
  https://github.com/groonga/groonga/commit/489ebf42acd938093dcd4489aa0b4ec324a794c2

  Message:
    packages apt: check existence of libzstd-dev package

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

  Modified: packages/apt/build-deb.sh (+7 -0)
===================================================================
--- packages/apt/build-deb.sh    2016-12-26 22:33:16 +0900 (2384086)
+++ packages/apt/build-deb.sh    2016-12-26 22:37:02 +0900 (3b94e36)
@@ -38,10 +38,17 @@ have_liblz4=yes
 if ! apt-cache show liblz4-dev > /dev/null 2>&1; then
   have_liblz4=no
 fi
+have_libzstd=yes
+if ! apt-cache show libzstd-dev > /dev/null 2>&1; then
+  have_libzstd=no
+fi
 
 if [ "${have_liblz4}" = "no" ]; then
   DEPENDED_PACKAGES="$(echo ${DEPENDED_PACKAGES} | sed -e 's/liblz4-dev//')"
 fi
+if [ "${have_libzstd}" = "no" ]; then
+  DEPENDED_PACKAGES="$(echo ${DEPENDED_PACKAGES} | sed -e 's/libzstd-dev//')"
+fi
 run sudo apt-get install -V -y build-essential devscripts ${DEPENDED_PACKAGES}
 
 run mkdir -p build
-------------- next part --------------
HTML����������������������������...
Download 



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