diff --git a/common/shlibs b/common/shlibs index b8e3596b9ef..c82b305e080 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3407,3 +3407,5 @@ libOsiClp.so.1 libClp-1.16.11_1 libClpSolver.so.1 libClp-1.16.11_1 libOsiCommonTests.so.1 libClp-1.16.11_1 libOsi.so.1 libClp-1.16.11_1 +libOGDF.so libogdf-2018.03_1 +libCOIN.so libogdf-2018.03_1 diff --git a/srcpkgs/libogdf-devel b/srcpkgs/libogdf-devel new file mode 120000 index 00000000000..0a5043e7339 --- /dev/null +++ b/srcpkgs/libogdf-devel @@ -0,0 +1 @@ +libogdf \ No newline at end of file diff --git a/srcpkgs/libogdf/template b/srcpkgs/libogdf/template new file mode 100644 index 00000000000..a75d6bd5450 --- /dev/null +++ b/srcpkgs/libogdf/template @@ -0,0 +1,33 @@ +# Template file for 'libogdf' +pkgname=libogdf +version=2018.03.28 +revision=1 +wrksrc=OGDF-snapshot +build_style=cmake +configure_args="-DBUILD_SHARED_LIBS=ON -DOGDF_EXTRA_CXX_FLAGS=-Wno-error" +make_build_args="-Wno-error=class-memaccess" +hostmakedepends="unzip python" +makedepends="libClp-devel" +short_desc="Open Graph Drawing Framework" +maintainer="nexolight " +license="GPL-2.0-or-later" +homepage="http://www.ogdf.net" +distfiles="http://amber-v7.cs.tu-dortmund.de/lib/exe/fetch.php/tech:ogdf-snapshot-${version//./-}.zip" +checksum=347c3fa8dcdbb094f9c43008cbc2934bc5a64a532af4d3fe360a5fa54488440f +nocross="can't find cpuid.h headers" + +pre_configure() { + # Fix upstream messing with CXXFLAGS + sed -e 's|-march=native||g' \ + -i cmake/compiler-specifics.cmake +} + +libogdf-devel_package() { + short_desc+=" - development files" + depends="${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/share/examples + vmove usr/lib/cmake + } +}