openbabel: remove obsolete wx-config workaround move eigen3.2 from host- to makedepends
This commit is contained in:
parent
37f35c2bf4
commit
3c59f3c5a9
1 changed files with 3 additions and 8 deletions
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'openbabel'
|
||||
pkgname=openbabel
|
||||
version=2.4.1
|
||||
revision=1
|
||||
revision=2
|
||||
_ver=${version//./-}
|
||||
wrksrc=${pkgname}-${pkgname}-${_ver}
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config eigen3.2"
|
||||
makedepends="cairo-devel libxml2-devel wxWidgets-devel"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="cairo-devel libxml2-devel eigen3.2 wxWidgets-devel"
|
||||
short_desc="The Open Source Chemistry Toolbox"
|
||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||
license="GPL-2"
|
||||
|
@ -16,11 +16,6 @@ checksum=594c7f8a83f3502381469d643f7b185882da1dd4bc2280c16502ef980af2a776
|
|||
|
||||
if [ -n "${CROSS_BUILD}" ]; then
|
||||
hostmakedepends+=" python"
|
||||
|
||||
pre_configure() {
|
||||
# cmake doesn’t find/use the wx-config wrapper
|
||||
sed -i -e "1i\set(wxWidgets_CONFIG_OPTIONS --prefix=${XBPS_CROSS_BASE}/usr)" CMakeLists.txt
|
||||
}
|
||||
fi
|
||||
|
||||
openbabel-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue