2018-02-24 12:06:56 +01:00
|
|
|
# Maintainer: Tim Rakowski <tim.rakowski@gmail.com>
|
|
|
|
# Contributor: marauder <abhinav.kssk@gmail.com>
|
2017-02-19 04:44:55 +01:00
|
|
|
pkgname=ignition-msgs
|
2018-02-24 12:06:56 +01:00
|
|
|
pkgver=1.0.0
|
2017-02-19 04:44:55 +01:00
|
|
|
pkgrel=1
|
2018-02-24 12:06:56 +01:00
|
|
|
pkgdesc="Standard set of message definitions, used by Ignition Transport, and other applications."
|
2017-02-19 04:44:55 +01:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://ignitionrobotics.org"
|
|
|
|
license=('Apache')
|
|
|
|
groups=('development')
|
2018-02-24 12:06:56 +01:00
|
|
|
depends=('protobuf' 'protobuf-c' 'ignition-math' 'ignition-tools')
|
|
|
|
makedepends=('ignition-cmake' 'ruby-ronn' 'pkg-config>=0.28' 'doxygen')
|
2017-02-19 04:44:55 +01:00
|
|
|
optdepends=()
|
|
|
|
conflicts=()
|
|
|
|
source=("https://bitbucket.org/ignitionrobotics/ign-msgs/get/${pkgname}_${pkgver}.tar.bz2")
|
2018-02-24 12:06:56 +01:00
|
|
|
sha256sums=('d5922f9f160aebc6fb1d6de32054e17c9493a6995ea0f1f3a56ba6448c3040ab')
|
2017-02-19 04:44:55 +01:00
|
|
|
|
2018-02-24 12:06:56 +01:00
|
|
|
_dir="ignitionrobotics-ign-msgs-9ba6a3e1c418"
|
2017-02-19 04:44:55 +01:00
|
|
|
|
2018-02-24 12:06:56 +01:00
|
|
|
build() {
|
2017-02-19 04:44:55 +01:00
|
|
|
cd "${srcdir}/${_dir}"
|
|
|
|
mkdir -p build && cd build
|
|
|
|
|
|
|
|
cmake .. -DCMAKE_BUILD_TYPE="Release" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
2018-02-24 12:06:56 +01:00
|
|
|
-DCMAKE_INSTALL_LIBDIR="lib" \
|
|
|
|
-DBUILD_TESTING:BOOL=False
|
|
|
|
make
|
2017-02-19 04:44:55 +01:00
|
|
|
}
|
|
|
|
|
2018-02-24 12:06:56 +01:00
|
|
|
check() {
|
|
|
|
cd "$srcdir/$_dir/build"
|
|
|
|
|
|
|
|
cmake .. -DCMAKE_BUILD_TYPE="Release" \
|
|
|
|
-DCMAKE_INSTALL_PREFIX="/usr" \
|
|
|
|
-DCMAKE_INSTALL_LIBDIR="lib" \
|
|
|
|
-DBUILD_TESTING:BOOL=True
|
|
|
|
|
2017-02-19 04:44:55 +01:00
|
|
|
make
|
2018-02-24 12:06:56 +01:00
|
|
|
make test
|
2017-02-19 04:44:55 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${_dir}/build"
|
|
|
|
make DESTDIR="${pkgdir}/" install
|
|
|
|
}
|