void-packages/srcpkgs/openbabel/template

29 lines
839 B
Bash

# Template file for 'openbabel'
pkgname=openbabel
version=3.1.1
revision=2
_ver=${version//./-}
build_style=cmake
build_helper=cmake-wxWidgets-gtk3
hostmakedepends="pkg-config"
makedepends="cairo-devel libxml2-devel eigen3.2 wxWidgets-gtk3-devel rapidjson"
short_desc="Open Source Chemistry Toolbox"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://openbabel.org"
distfiles="https://github.com/openbabel/openbabel/archive/openbabel-${_ver}.tar.gz"
checksum=c97023ac6300d26176c97d4ef39957f06e68848d64f1a04b0b284ccff2744f02
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
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
}
}