void-packages/srcpkgs/codelite/template

27 lines
757 B
Bash

# Template file for 'codelite'
pkgname=codelite
version=9.2
revision=2
build_style=cmake
configure_args="-DENABLE_CLANG=1 -DENABLE_LLDB=1 -DWITH_MYSQL=1"
hostmakedepends="pkg-config clang"
makedepends="wxWidgets-devel libmariadbclient-devel sqlite-devel libssh-devel
gtk+-devel"
short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-3"
homepage="http://www.codelite.org"
distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz"
checksum="2e82e26d55e9884cd5c1061efd3ab4d8bd81dc6e095c5b811d0a3cba395e6118"
only_for_archs="i686 x86_64"
nopie=yes
pre_configure() {
sed -i 's,wx-config,&-3.0,g' CMakeLists.txt
}
post_install() {
vlicense LICENSE
}