void-packages/srcpkgs/wxMaxima/template

24 lines
852 B
Bash

# Template file for 'wxMaxima'
pkgname=wxMaxima
version=20.02.4
revision=2
build_style=cmake
configure_args="-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3"
hostmakedepends="gettext perl desktop-file-utils doxygen po4a"
makedepends="wxWidgets-gtk3-devel"
depends="maxima desktop-file-utils"
short_desc="Cross-platform GUI for the computer algebra system Maxima"
maintainer="Martin Riese <grauehaare@gmx.de>"
license="GPL-2.0-or-later"
homepage="https://wxmaxima-developers.github.io/wxmaxima/"
distfiles="https://github.com/wxMaxima-developers/wxmaxima/archive/Version-${version}.tar.gz"
checksum=d47ca52e40491ea3c4ea7bea126f4da4d0b535702126abef0c172f69ba58e17d
nocross="clisp is nocross"
CXXFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
post_install() {
# remove unpackaged files
rm -f ${DESTDIR}/usr/share/wxMaxima/{COPYING,README}
}