Skip to content

Instantly share code, notes, and snippets.

@nofxx
Created March 14, 2017 20:39
Show Gist options
  • Save nofxx/71b531545548360877a832a2c4c03ddb to your computer and use it in GitHub Desktop.
Save nofxx/71b531545548360877a832a2c4c03ddb to your computer and use it in GitHub Desktop.
ignition-transport 3
# Maintainer: Benjamin Chrétien <chretien dot b plus aur at gmail dot com>
pkgname=ignition-transport
pkgver=3.0.1
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-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")
md5sums=('faf7298ec251e939b1bf446a3922b29c')
_dir="ignitionrobotics-ign-transport-43199f9158dc"
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