[arch-commits] Commit in (4 files)

Anatol Pomozov anatolik at archlinux.org
Tue Jan 5 18:07:39 UTC 2016


    Date: Tuesday, January 5, 2016 @ 19:07:38
  Author: anatolik
Revision: 155537

Add tarantool Lua application server to [community]

Added:
  tarantool/
  tarantool/repos/
  tarantool/trunk/
  tarantool/trunk/PKGBUILD

----------+
 PKGBUILD |   71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)

Added: tarantool/trunk/PKGBUILD
===================================================================
--- tarantool/trunk/PKGBUILD	                        (rev 0)
+++ tarantool/trunk/PKGBUILD	2016-01-05 18:07:38 UTC (rev 155537)
@@ -0,0 +1,71 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=tarantool
+_commit=3dbc9ffe87307cd8f2ae84ce67824695c7eaf369
+pkgver=1.6.7.r562
+pkgrel=1
+pkgdesc='Lua application server integrated with a database management system'
+arch=(i686 x86_64)
+url='http://www.tarantool.org'
+license=(BSD)
+depends=(readline ncurses zlib)
+makedepends=(git cmake)
+checkdepends=(python2-daemon python2-gevent python2-tarantool)
+source=(git://github.com/tarantool/tarantool.git#commit=$_commit
+        git://github.com/tarantool/luajit.git
+        git://github.com/tarantool/msgpuck.git
+        git://github.com/rtsisyk/luafun.git
+        git://github.com/tarantool/sophia.git
+        git://github.com/tarantool/test-run.git
+        git://github.com/tarantool/small.git)
+sha1sums=('SKIP'
+          'SKIP'
+          'SKIP'
+          'SKIP'
+          'SKIP'
+          'SKIP'
+          'SKIP')
+
+pkgver() {
+  cd tarantool
+  git describe | sed 's/^v//; s/-/.r/; s/-.*//'
+}
+
+build() {
+  cd tarantool
+
+  # tarantool uses git submodule, handle this
+  git submodule init
+  git config -f .gitmodules 'submodule.third_party/luajit.url' "$srcdir/luajit"
+  git config -f .gitmodules 'submodule.src/lib/msgpuck.url' "$srcdir/msgpuck"
+  git config -f .gitmodules 'submodule.third_party/luafun.url' "$srcdir/luafun"
+  git config -f .gitmodules 'submodule.sophia.url' "$srcdir/sophia"
+  git config -f .gitmodules 'submodule.test-run.url' "$srcdir/test-run"
+  git config -f .gitmodules 'submodule.src/lib/small.url' "$srcdir/small"
+  git submodule sync
+  git submodule update
+
+  cmake \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_INSTALL_SYSCONFDIR=/etc/tarantool \
+    -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_SKIP_RPATH=ON \
+    .
+
+  make
+}
+
+check() {
+  cd tarantool/test
+  ./test-run.py --suite box
+}
+
+package() {
+  cd tarantool
+  make install DESTDIR="$pkgdir"
+
+  install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+  rm "$pkgdir/usr/share/doc/tarantool/LICENSE"
+}


Property changes on: tarantool/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list