void-packages/srcpkgs/codelite/template
2019-01-21 00:24:19 -02:00

27 lines
837 B
Bash

# Template file for 'codelite'
pkgname=codelite
version=12.0
revision=8
build_style=cmake
configure_args="-DENABLE_CLANG=1 -DENABLE_LLDB=1 -DWITH_MYSQL=1"
hostmakedepends="pkg-config clang"
makedepends="wxWidgets-gtk3-devel libmariadbclient-devel sqlite-devel
libssh-devel gtk+3-devel"
short_desc="Open-source, cross platform IDE for the C/C++ programming languages"
maintainer="Andrea Brancaleoni <abc@pompel.me>"
license="GPL-2.0-or-later"
homepage="http://www.codelite.org"
distfiles="https://github.com/eranif/${pkgname}/archive/${version}.tar.gz"
checksum=e8912e3e0aea8890b5c65631ad94d58ddc587812c7ac6ec398e37aaa4b7005b4
only_for_archs="i686 x86_64 ppc64le"
pre_configure() {
sed -i -e 's,wx-config,&-gtk3,g' \
-e "1i\SET(wxWidgets_CONFIG_EXECUTABLE wx-config-gtk3)" \
CMakeLists.txt
}
post_install() {
vlicense LICENSE
}