Skip to content
Snippets Groups Projects
Commit 508dc09a authored by Redouane Boumghar's avatar Redouane Boumghar
Browse files

[wip/jafar-jmath] First package for jmath

parent 80fde047
No related branches found
No related tags found
No related merge requests found
......@@ -24,5 +24,6 @@ SUBDIR+= jafar-kernel
SUBDIR+= jafar-lgl
SUBDIR+= jafar-rednav
SUBDIR+= rednav-genom
SUBDIR+= jafar-jmath
include ../mk/robotpkg.subdir.mk
Jafar module that defines some common mathematical tools: vector and matrix manipulation, random number generation,...
PKGVERSION= 0.3
DISTNAME= jafar-jmath-${PKGVERSION}
PKGNAME= jafar-jmath-${PKGVERSION}
CATEGORIES= wip
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=jafar-jmath/}
MAINTAINER= jafar@laas.fr
HOMEPAGE= https://intranet.laas.fr/intranet/robots/wiki/Jafar
COMMENT= Jafar module that defines some common mathematical tools: vector and matrix manipulation, random number generation,...
LICENSE= isc
USE_LANGUAGES+= c c++ fortran
USE_PKGLOCALEDIR= yes
CMAKE_ARGS+= -DBOOST_INCLUDEDIR=${PREFIX.boost-headers}/include
CMAKE_ARGS+= -DBOOST_LIBDIR=${PREFIX.boost-libs}/include
PKG_SUPPORTED_OPTIONS+= FLANN
PKG_OPTION_DESCR.FLANN= Enable FLANN support.
define PKG_OPTION_SET.FLANN
CMAKE_ARGS+= -DHAVE_FLANN=ON
include ../../wip/flann/depend.mk
endef
define PKG_OPTION_UNSET.FLANN
CMAKE_ARGS+= -DHAVE_FLANN=OFF
endef
include ../../wip/jafar-kernel/depend.mk
include ../../math/lapack/depend.mk
include ../../math/boost-numeric-bindings/depend.mk
include ../../pkgtools/libtool/depend.mk
include ../../pkgtools/pkg-config/depend.mk
include ../../mk/sysdep/cmake.mk
include ../../mk/robotpkg.mk
DEPEND_DEPTH:= ${DEPEND_DEPTH}+
jafar-jmath_DEPEND_MK:= ${jafar-jmath_DEPEND_MK}+
ifeq (+,$(DEPEND_DEPTH))
DEPEND_PKG+= jafar-jmath
endif
ifeq (+,$(jafar-jmath_DEPEND_MK)) # -----------------------------------------------
PREFER.jafar-jmath?= robotpkg
DEPEND_USE+= jafar-jmath
DEPEND_ABI.jafar-jmath?= jafar-jmath>=0.3
DEPEND_DIR.jafar-jmath?= ../../wip/jafar-jmath
SYSTEM_SEARCH.jafar-jmath=\
include/jafar/jmath/jmathException.hpp \
lib/libjafar-jmath.so
endif # jafar-jmath_DEPEND_MK ----------------------------------------------------
DEPEND_DEPTH:= ${DEPEND_DEPTH:+=}
SHA1 (jafar-jmath-0.3.tar.gz) = 2301cccb60349ae408d468cf0679433f99232bfc
RMD160 (jafar-jmath-0.3.tar.gz) = 36f6ebb5695e3a30bfbe915269aeb1e9b34d8ac4
Size (jafar-jmath-0.3.tar.gz) = 539828 bytes
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment