From ed8583113416b850871f352123ede5cc92f0e915 Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sat, 20 Aug 2016 10:26:02 -0300 Subject: [PATCH] New package: openbabel-2.3.2 --- common/shlibs | 2 ++ srcpkgs/openbabel-devel | 1 + srcpkgs/openbabel/template | 26 ++++++++++++++++++++++++++ 3 files changed, 29 insertions(+) create mode 120000 srcpkgs/openbabel-devel create mode 100644 srcpkgs/openbabel/template diff --git a/common/shlibs b/common/shlibs index 8518de6c890..f4406073992 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2600,3 +2600,5 @@ libikvm-native.so mono-4.0.1.44_2 libMonoPosixHelper.so mono-4.0.1.44_2 libMonoSupportW.so mono-4.0.1.44_2 libxcb-xrm.so.0 xcb-util-xrm-1.0_1 +libinchi.so.0 openbabel-2.3.2_1 +libopenbabel.so.4 openbabel-2.3.2_1 diff --git a/srcpkgs/openbabel-devel b/srcpkgs/openbabel-devel new file mode 120000 index 00000000000..a05c7585013 --- /dev/null +++ b/srcpkgs/openbabel-devel @@ -0,0 +1 @@ +openbabel \ No newline at end of file diff --git a/srcpkgs/openbabel/template b/srcpkgs/openbabel/template new file mode 100644 index 00000000000..6d04950bfd0 --- /dev/null +++ b/srcpkgs/openbabel/template @@ -0,0 +1,26 @@ +# Template file for 'openbabel' +pkgname=openbabel +version=2.3.2 +revision=1 +_ver=${version//./-} +wrksrc=${pkgname}-${pkgname}-${_ver} +build_style=cmake +hostmakedepends="pkg-config eigen" +makedepends="cairo-devel libxml2-devel wxWidgets-devel" +short_desc="The Open Source Chemistry Toolbox" +maintainer="Diogo Leal " +license="GPL-2" +homepage="http://openbabel.org" +distfiles="https://github.com/openbabel/openbabel/archive/openbabel-${_ver}.tar.gz" +checksum=cad75883dc2a848fcf1addfce6eeb516d531f783bb81395fc0a41e079b00342c + +openbabel-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + } +}