new package: libogdf-2018.03_1

Co-authored-by: maxice8 <thinkabit.ukim@gmail.com>
This commit is contained in:
nexolight 2018-10-26 20:40:16 +02:00 committed by maxice8
parent b6b8f5c58b
commit 396ce60f9d
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
3 changed files with 36 additions and 0 deletions

View File

@ -3407,3 +3407,5 @@ libOsiClp.so.1 libClp-1.16.11_1
libClpSolver.so.1 libClp-1.16.11_1 libClpSolver.so.1 libClp-1.16.11_1
libOsiCommonTests.so.1 libClp-1.16.11_1 libOsiCommonTests.so.1 libClp-1.16.11_1
libOsi.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

1
srcpkgs/libogdf-devel Symbolic link
View File

@ -0,0 +1 @@
libogdf

33
srcpkgs/libogdf/template Normal file
View File

@ -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 <snow.dream.ch@gmail.com>"
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
}
}