Created
March 22, 2017 00:42
-
-
Save anonymous/c914b5fb625db224ac93ab594bd66294 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Daniel YC Lin <dlin.tw@gmail.com> | |
pkgname=tarantool-avro-schema | |
_pkgname=avro-schema | |
pkgver=2.0 | |
pkgrel=1 | |
pkgdesc='Apache Avro schema tools for Tarantool' | |
arch=(i686 x86_64) | |
url='http://github.com/tarantool/avro-schema' | |
license=(BSD) | |
#depends=(readline ncurses zlib libyaml) | |
makedepends=(cmake tarantool) | |
#checkdepends=(python2-daemon python2-gevent python2-tarantool) | |
#conflicts=(tarantool) | |
#provides=(tarantool) | |
#replaces=(tarantool) | |
#install=tarantool.install | |
source=(https://github.com/tarantool/$_pkgname/archive/$pkgver.tar.gz) | |
build() { | |
cd $_pkgname-$pkgver | |
cmake \ | |
-DCMAKE_INSTALL_PREFIX=/usr \ | |
-DCMAKE_INSTALL_BINDIR=/usr/bin \ | |
-DCMAKE_INSTALL_SYSCONFDIR=/etc \ | |
-DCMAKE_INSTALL_LIBDIR=/usr/lib \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DCMAKE_SKIP_RPATH=ON \ | |
-DENABLE_BUNDLED_LIBYAML:BOOL=OFF \ | |
-DENABLE_BACKTRACE:BOOL=ON \ | |
-DWITH_SYSTEMD:BOOL=ON \ | |
-DENABLE_DIST:BOOL=ON \ | |
. | |
make | |
} | |
check() { | |
cd $_pkgname-$pkgver | |
make check | |
} | |
package() { | |
cd $_pkgname-$pkgver | |
make install DESTDIR="$pkgdir" | |
install -D -m644 lib/phf/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" | |
} | |
md5sums=('eace51cb4caf4666241cb7dbf80a4cff') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment