Skip to content

Instantly share code, notes, and snippets.

Created February 19, 2017 04:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/8a340176b21e8231f5875ca799a59837 to your computer and use it in GitHub Desktop.
Save anonymous/8a340176b21e8231f5875ca799a59837 to your computer and use it in GitHub Desktop.
# Maintainer: Benjamin Chrétien <chretien dot b plus aur at gmail dot com>
pkgname=ignition-transport
pkgver=3.0.0
pkgrel=1
pkgdesc="The transport library combines ZeroMQ with Protobufs to create a fast and efficient message passing system"
arch=('i686' 'x86_64')
url="http://ignitionrobotics.org"
license=('Apache')
groups=('development')
depends=('protobuf' 'protobuf-c' 'zeromq' 'uuid' 'ignition-tools' 'ignition-msgs')
makedepends=('cmake' 'ruby-ronn' 'pkg-config>=0.28' 'doxygen')
optdepends=()
conflicts=()
source=("https://bitbucket.org/ignitionrobotics/ign-transport/get/${pkgname}3_${pkgver}.tar.bz2")
sha256sums=('SKIP')
_dir="ignitionrobotics-ign-transport-864cfae3d133"
prepare() {
cd "${srcdir}/${_dir}"
mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE="Release" \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib"
}
build() {
cd "${srcdir}/${_dir}/build"
make
}
package() {
cd "${srcdir}/${_dir}/build"
make DESTDIR="${pkgdir}/" install
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment