diff --git a/jrl-cmakemodules/DESCR b/jrl-cmakemodules/DESCR new file mode 100644 index 0000000000000000000000000000000000000000..f2d31e4d488e4f9ad0c56646a56cff1251164a27 --- /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 0000000000000000000000000000000000000000..887163fd8ab83f9bf88592593af533a514e3726c --- /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