From 172bab1b62ff641352c56d6aee26ec3adad0a5f9 Mon Sep 17 00:00:00 2001 From: Guilhem Saurel <guilhem.saurel@laas.fr> Date: Sun, 8 Sep 2019 11:49:47 +0200 Subject: [PATCH] [wip/jrl-cmakemodules] Initial creation --- jrl-cmakemodules/DESCR | 1 + jrl-cmakemodules/Makefile.common | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 jrl-cmakemodules/DESCR create mode 100644 jrl-cmakemodules/Makefile.common diff --git a/jrl-cmakemodules/DESCR b/jrl-cmakemodules/DESCR new file mode 100644 index 00000000..f2d31e4d --- /dev/null +++ b/jrl-cmakemodules/DESCR @@ -0,0 +1 @@ +This meta package contains helpers to use robotpkg with the JRL-cmakemodule diff --git a/jrl-cmakemodules/Makefile.common b/jrl-cmakemodules/Makefile.common new file mode 100644 index 00000000..887163fd --- /dev/null +++ b/jrl-cmakemodules/Makefile.common @@ -0,0 +1,27 @@ +# robotpkg Makefile for: wip/jrl +# Created: Guilhem Saurel on Sun Sep 9 2019 +# +# +ifndef NAME + PKG_FAIL_REASON+="Dependency on jrl/Makefile.common requires NAME" +endif +ifndef ORG + PKG_FAIL_REASON+="Dependency on jrl/Makefile.common requires ORG" +endif +ifndef VERSION + PKG_FAIL_REASON+="Dependency on jrl/Makefile.common requires VERSION" +endif + +DISTNAME?= ${NAME}-${VERSION} + +MASTER_SITES?= ${MASTER_SITE_OPENROBOTS:=${NAME}/} +MASTER_REPOSITORY?= ${MASTER_REPOSITORY_GITHUB}/${ORG}/${NAME}.git +CHECKOUT_VCS_OPTS+= --recursive + +CMAKE_ARGS+= -DCMAKE_INSTALL_LIBDIR=lib +CMAKE_ARGS+= -DPYTHON_STANDARD_LAYOUT=ON + +DYNAMIC_PLIST_DIRS+= share/doc/${NAME} + +include ../../pkgtools/pkg-config/depend.mk +include ../../mk/sysdep/cmake.mk -- GitLab