[Groonga-commit] groonga/groonga at fe2e77e [master] package debian: enable zlib and LZ4

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Oct 28 16:18:45 JST 2014


Kouhei Sutou	2014-10-28 16:18:45 +0900 (Tue, 28 Oct 2014)

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

  Message:
    package debian: enable zlib and LZ4

  Modified files:
    packages/apt/build-deb.sh
    packages/apt/env.sh.in
    packages/debian/control

  Modified: packages/apt/build-deb.sh (+11 -0)
===================================================================
--- packages/apt/build-deb.sh    2014-10-28 16:17:53 +0900 (ec6789e)
+++ packages/apt/build-deb.sh    2014-10-28 16:18:45 +0900 (aef0827)
@@ -32,6 +32,14 @@ case "${distribution}" in
     ;;
 esac
 
+have_liblz4=yes
+if ! apt-cache show liblz4-dev > /dev/null 2>&1; then
+  have_liblz4=no
+fi
+
+if [ "${have_liblz4}" = "no" ]; then
+  DEPENDED_PACKAGES="$(echo ${DEPENDED_PACKAGES} | sed -e 's/liblz4-dev//')"
+fi
 run sudo apt-get install -V -y build-essential devscripts ${DEPENDED_PACKAGES}
 
 run mkdir -p build
@@ -41,6 +49,9 @@ run cd build
 run tar xfz ${PACKAGE}_${VERSION}.orig.tar.gz
 run cd ${PACKAGE}-${VERSION}/
 run cp -rp /vagrant/tmp/debian debian
+if [ "${have_liblz4}" = "no" ]; then
+  grep -v liblz4 /vagrant/tmp/debian/control > debian/control
+fi
 # export DEB_BUILD_OPTIONS=noopt
 run debuild -us -uc
 run cd -

  Modified: packages/apt/env.sh.in (+1 -1)
===================================================================
--- packages/apt/env.sh.in    2014-10-28 16:17:53 +0900 (0b56e9f)
+++ packages/apt/env.sh.in    2014-10-28 16:18:45 +0900 (3e30609)
@@ -4,7 +4,7 @@ DEPENDED_PACKAGES="
 debhelper
 autotools-dev
 zlib1g-dev
-liblzo2-dev
+liblz4-dev
 libmsgpack-dev
 libzmq-dev
 libevent-dev

  Modified: packages/debian/control (+4 -2)
===================================================================
--- packages/debian/control    2014-10-28 16:17:53 +0900 (1a1ba8c)
+++ packages/debian/control    2014-10-28 16:18:45 +0900 (e2b06a7)
@@ -6,8 +6,8 @@ Uploaders: HAYASHI Kentaro <hayashi �� clear-code.com>
 Build-Depends:
   debhelper (>= 9),
   autotools-dev,
+  liblz4-dev,
   zlib1g-dev,
-  liblzo2-dev,
   libmsgpack-dev,
   libzmq3-dev | libzmq-dev,
   libevent-dev,
@@ -101,7 +101,9 @@ Breaks: libgroonga (<< 1.2.0-1)
 Pre-Depends: ${misc:Pre-Depends}
 Depends:
   ${misc:Depends},
-  ${shlibs:Depends}
+  ${shlibs:Depends},
+  liblz4-1,
+  zlib1g
 Description: Library files for Groonga
  Groonga is an open-source fulltext search engine and column store.
  It lets you write high-performance applications that requires fulltext search.
-------------- next part --------------
HTML����������������������������...
Descargar 



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