void-packages/srcpkgs/openbabel/template
2016-08-22 13:35:14 -03:00

26 lines
767 B
Bash

# 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 <diogo@diogoleal.com>"
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
}
}